flash.external.ExternalInterface is the External API that enables the communication between actionscript and flash player container. It enables the communication between javascript and actionscript.
From ActionScript, you can do the following on the HTML page:
* Call any JavaScript function.
* Pass any number of arguments, with any names.
[...]