Detect support for the ExternalInterface API
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Label id="l1" text="ExternalInterface.available.toString()" /> </mx:Application>
1. | Declare myFunc() function to be callable by the wrapper | ||
2. | Use available property to detect support for the ExternalInterface API before executing methods that use the class |