Skip to content

Instantly share code, notes, and snippets.

@tcelestino
Created October 7, 2013 19:31
Show Gist options
  • Save tcelestino/6873581 to your computer and use it in GitHub Desktop.
Save tcelestino/6873581 to your computer and use it in GitHub Desktop.
Flash lendo uma função JS
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