Like this article? We recommend

Like this article? We recommend

The ExternalInterface Class

ExternalInterface is a new class in Flash 8 that provides a programming
interface to allow direct communication between ActionScript and the file that
contains the Flash movie, such as an HTML page with JavaScript that
cross-communicates to the embedded Flash object. This new class allows you to
pass any number of parameters and return a value of any datatype. The class is
supported by the following browsers:

Internet Explorer 5.0 and later, on Windows systems

Firefox 1.0 and later

Mozilla 1.7.5 and later

Netscape 8.0 and later

Safari 1.3 and later

Let’s get started by creating the HTML page that will contain both the
JavaScript and the Flash bar chart movie.