Hi,

> I don't know, if it's better, but is an alternative:
> 
> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Security.html#sandboxType
> 
> public static function get isAir(): Boolean
> {
>    return Security.sandboxType.toString() == "application" ? true : false;
> }

After a little searching probably checking Capabilities.playerType == "Desktop" 
may be better.

Thanks,
Justin

Reply via email to