I was reading about Flex- JavaScript communication via ExternalInterface.
But I had a doubt, it said that the javascript code should be written in the HTML file of the application ?
Now which is this HTML file ?
Is it the index.template.html file per project or the HTML file created per MXML application ?
You should better use the
index.template.html, since this is the file used as a template for the HTMLs generated for each MXML application. Otherwise a simple clean on the project might delete the code you’ve added to the HTML file created per MXML application.