Flash 8 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > ExternalInterface (flash.external.ExternalInterface) > available (ExternalInterface.available property) | |||
public static available : Boolean [read-only]
Indicates whether this player is in a container that offers an external interface. If the external interface is available, this property is true; otherwise, it is false.
Availability: ActionScript 1.0; Flash Player 8
The following example uses ExternalInterface.available to determine whether the player is in a container that offers an external interface.
import flash.external.*; var isAvailable:Boolean = ExternalInterface.available; trace(isAvailable);
Version 8
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00002202.html