Skip to main content
May 24, 2013 6:16 PM UTC
Answered

How to determine if running on Desktop vs Web?

Is there a way I can check if an app I am creating is running on the web in a browser or on the desktop as an air application?

This topic is closed to new replies. Start a new post to keep the conversation going.
kglad
kgladCorrect answer
Community Expert
May 24, 2013 6:28 PM UTC

you can check the loaderInfo's url property.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
May 24, 2013 6:28 PM UTC

you can check the loaderInfo's url property.

Translate