0 Replies Latest reply on Dec 7, 2011 5:26 AM by raegtime

    How to determine if an application is running as a mobile or desktop air applicaton?

    raegtime

      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?