Flash ExternalInterface - Debug checklist
Flash' ExternalInterface api allows you to communicate between Javascript and Actionscript. A very useful tool, and we've used it quite a few times. Often times it just doesn't work though, and it can be difficult to get to the root of the issue. This is a list of things you should be looking out for if ExternalInterface does not work for you:
Give your <object> tag an id
In order to call your flash application, your
Comments
stefan •
Just ran into one:Make sure the DOM is ready when calling the Flash Functions
Jennie •
Very smart idea to have one single source of documentation and looks like you have it well covered!butterbrot •
I also notice having trouble with the external interface when the flash is inside a div which is currently hidden using css position (top/left -9999)but it worked when the flash is visible by 1px
bob •
The ExternalInterface functions exported to JavaScript, don't work if you are debugging remote.