I am trying to call a Actionscript function from javascript but I am having problems in Internet Explorer. I am using Swiff.remote in mootools 1.2.1 to call the actionscript fun
You can call it directly:
playSwf.remote('sendResult', result, plays, name)
Of course sendResult
has to be registered with ExternalInterface.addCallback()
in the AS code and the flash file has to fully loaded (otherwise all calls fail).
An example can be found in this github repository (fancyupload): The as3proj contains the AS source, the JS remote calls are in Swiff.Uploader.js.