Section 25.114. ExternalInterface: a bidirectional interface to Flash


25.114. ExternalInterface: a bidirectional interface to Flash

ActionScript Object in Flash 8

25.114.1. Static Properties


available

Indicates whether Flash may communicate with JavaScript. This will be false if the security policy for the browser prevents communication.

25.114.2. Static Functions


addCallback( )

Exports an ActionScript method so it can be invoked from JavaScript.


call( )

Invokes a JavaScript function from ActionScript.

25.114.3. Description

ExternalInterface is an ActionScript object defined by the Adobe Flash plug-in in version 8 and later. It defines two static functions for use by ActionScript code in Flash movies. These functions enable communication between JavaScript code in a web browser and ActionScript code in a Flash movie.

25.114.4. See Also

FlashPlayer; Chapter 23




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net