Does Adobe AIR detect if it works in ADL?

I need to determine if it works in ADL or not, I can’t answer the question that is guaranteed ... I found a couple of messages on the Internet that say, “It might work ...” Is there a reliable way to check?

Thanks.

+3
source share
1 answer

If I do not understand

if (Capabilities.isDebugger)
{
    Alert.show("Debugger!");
}
else
{
    Alert.show("Not the debugger.");
}   

... should be what you are looking for. (If so, my apologies! Go back and I'll tune accordingly.)

+11
source

Source: https://habr.com/ru/post/1712709/


All Articles