The flash.external package contains the ExternalInterface class which can be used to communicate with the Flash Player's container.


The ExtensionContext class also provides a static method getExtensionDirectory() for accessing the directory in which the extension is installed on the device.

 ExtensionInfo The ExtensionInfo class provides details about a particular AIR Native Extension.
 ExternalInterface The ExternalInterface class is an application programming interface that enables straightforward communication between ActionScript and the SWF container– for example, an HTML page with JavaScript or a desktop application that uses Flash Player to display a SWF file.
 HostObject The HostObject is the base class of all host objects.