Mega Code Archive
Use available property to detect support for the ExternalInterface API before executing methods that use the class
[Bindable]
public var eiStatus:String;
private function checkEI():void {
eiStatus = ExternalInterface.available.toString();
}