/ Published in: ActionScript 3

In Flex the Application needs to be complete so run this code within your applicationComplete event handler and pass a Boolean into a Data model somewhere so you can use it elsewhere.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* In Flex the Application needs to be complete so run this code within your applicationComplete event handler and pass a Boolean into a Data model somewhere so you can use it elsewhere. */ var isLocal:Boolean = loaderInfo.url.indexOf("file") == 0;
Comments
