How can I find out what the current application type is? i.e. whether it’s running on a mobile device or as a desktop Air application?
I’ve tried this:
if(FlexGlobals.topLevelApplicatoin as WindowedApplication)
//desktop
However the mobile Version can’t find the WindowedApplication class.
How do I tell the difference?
ok this works: