• flickr
  • linkedin
  • twitter
  • rss

Posts Tagged "JavaScript"

Call AS3 functions from javascript and vice versa

Call AS3 functions from javascript and vice versa

To communicate between JavaScript and Actionscript it isn't so hard. FLASH: import flash.external.ExternalInterface; ExternalInterface.addCallback("sendTextToFlash", getTextFromJavaScript); function getTextFromJavaScript(str):void { trace(str); }…
1 of 2
12