I have created a flex project on flash builder 4. In the MXML I have
xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="init();"
And to check if it runs
<![CDATA[
private function init():void
{
ExternalInterface.addCallback("Submit", submit);
txtFirstName.text = "fkjkdshf";
//txtFirstName.text = ExternalInterface.available.toString();
}
I did export release build which creates a SWF file.
When I open the file with Firefox on Windows, It is clear that the event took action -> the text box value changes.
When I open the file on Firefox on LINUX, the text value does not change hence creationComplete event was not performed.
My goal is to set
ExternalInterface.addCallback("Submit", submit);
So that I can call this from a Qt application.
I have checked and the same Flash Player is used on both platforms.
This seems like a bug on Linux Flash Plugin.
How can I overcome this, and register "Submit" ?