Chapter 15. External Interface
Macromedia Flash 8 introduces a new way for Flash applications to communicate with the environment hosting Flash Player. When deploying applications to the web, that most frequently means communicating with the browser. The ExternalInterface class provides a way to make synchronous calls to JavaScript functions (something not previously available) as well as a simple way in which to call ActionScript functions from JavaScript. Using ExternalInterface you can build integrated applications utilizing functionality native not only to Flash Player, but also functionality of the environment within which Flash Player is embedded.
Get Macromedia® Flash® 8 ActionScript: Training from the Source now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.