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_8638 IMG_4404 IMG_3145 IMG_3546 IMG_3297_grey IMG_2601 IMG_3605_grey IMG_3568_grey IMG_3386_grey IMG_1468 IMG_3192 IMG_2827

Latest Comments

Latest Article

Categories

del.icio.us