Created
October 7, 2013 19:31
-
-
Save tcelestino/6873581 to your computer and use it in GitHub Desktop.
Flash lendo uma função JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import flash.external.ExternalInterface; | |
ExternalInterface.addCallback("javascriptFNC", flashFNC); | |
function flashFNC():void{ | |
//actions | |
} | |
---------------------------------------------------------- | |
## javascript | |
var el = id do elemento object do flash | |
el.fncJavaScript = function(){ | |
// actions | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment