By default, ExternalInterface will issue security error # 2060 if you try to use it on the page: //. However, if you add the option <param name="allowscriptaccess" value="always"/> to your embed, it should be able to talk with JavaScript.
docs on ExternalInterface refer to this in the exception documentation for addCallback () and call ().
EDIT:. Having discussed this further in the comments below, it seems that although this works for me on a Mac, it does not work on Windows. Eric's answer provides more details on why this is happening.
Nathan ostgard
source share