Quick start with Flash ExternalInterface class

The ExternalInterface class allows you to communicate with the Flash wrapping container, which is usually the HTML page with JavaScript capeability. It allows you to send data from ActionsScript to JavaScript and vice versa.

The ExternalInterface class is implemented for nearly all current browsers. Please see the documentation for a detailed list of the supported browsers here.

All five attributes and methods are static, so you don’t need an instance of this class.

Make sure ExternalInterface is available

When using the ExternalInterface you should make sure it’s available. So please test the boolean value ExternalInterface.available:

if( ExternalInterface.available ){
  ExternalInterface.call( .... )
}

Search:

Twitter

XING

Flex User Group Hamburg

Gallery

IMG_4980 IMG_2601 IMG_3950 IMG_8547 IMG_1468 IMG_2819 IMG_3297_grey img_5549_gs IMG_8638 img_0721_gs img_0984_gs IMG_3568_grey

Latest Comments

Latest Article

Categories

del.icio.us