October 2005
Intermediate to advanced
1376 pages
27h 40m
English
Object
|
+-flash.external.ExternalInterface
public class ExternalInterface
extends ObjectThe ExternalInterface class is the External API, an application programming interface that enables straightforward communication between ActionScript and the Flash Player container; for example, an HTML page with JavaScript, or a desktop application with Flash Player embedded.
ExternalInterface is similar in functionality to the fscommand(), CallFrame() and CallLabel() methods, but is more flexible and more generally applicable. Use of ExternalInterface is recommended for JavaScript-ActionScript communication.
From ActionScript, you can call any JavaScript function on the HTML page, passing any number ...
Read now
Unlock full access