addcallback

as3 ExternalInterface.addCallback is not working right

Hi, I was trying to access swf from javascript, so this example in livedocs is what I'm trying to modify. http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html#includeExamplesSummary However,it is not working correctly for some reason. The problem I'm encountering is that it does not work in Sa...

Referencing problem when adding callbacks to Exernal Interface in Flash/ActionScript3

Hi, I have a method: myMethod() {} that I want to make accessible to javascript. I've done a bit of research and found out you need to add a callback to ExernalInterface, so here's what I have done: ExternalInterface.addCallback("invokeMyMethod", myMethod); Now when I load up my web page with the flash on it, I get an error: Referen...