2 Replies Latest reply: Dec 3, 2009 10:14 AM by JWilson727 RSS

    converting Flex app into Air?

    Kristtee Community Member

      i wonder is there a way to convert a Flex 3 application into an Air app for desktop distribution?

      thanks

      krs

        • 1. Re: converting Flex app into Air?
          Gregory Lafrance Community Member

          You can easily do this by changing the <mx:WindowedApplication> tag of the main app file to <mx:Application>.

           

          Any other code that is AIR only, such as accessing the local hard driver with FileSystemTree, etc. must be removed, disabled, or modified as appropriate.

           

          If this post answers your question or helps, please mark it as such.

          • 2. Re: converting Flex app into Air?
            JWilson727

            Hey Greg,

             

            I currently have an application that I created using Flex 4 SDK, and I was planning on using the code to create it as an AIR app. Do you know if the steps above apply to a Flex 4 > AIR conversion? Are there syntax changes that I need to address before the Flex app will run as an AIR app?

             

            Essentially what I'm looking for is a checklist of changes I need to make in my code when migrating from Flex to AIR to ensure it is basically a plug and play.

             

            Thanks in advance