1 Reply Latest reply on Jan 19, 2011 9:33 AM by Tanya Heins

    AIR project window resizable - can I avoid?

    jamco1968 Level 1

      The window for the AIR version of my project is able to be resized, and users see everything on my pasteboard.
      Is there any way to keep this from happening?

       

      Any help would be appreciated!

        • 1. Re: AIR project window resizable - can I avoid?
          Tanya Heins Level 1

          Hi,

           

          Not sure what you mean by users being able to see your pasteboard.  (Perhaps post a sample/screenshot of your app)

           

          On the AIR window resizing issue, I expect that you would need to import your project in FlashBuilder to control this.  There is an app xml file that controls the following AIR application settings for the initial Window:

           

          If your FB project is called foo a foo-app.xml will also be generated. This is an application configuration file.  Edit this file, in particular change:

           

          <!-- Whether the user can resize the window. Optional. Default true. -->

          <!-- <resizable></resizable> -->

          to:

          <!-- Whether the user can resize the window. Optional. Default true. -->

          <resizable>false</resizable>

           

          (Note: This property is commented out and the default value is true.)

           

          Hope this helps.

          Tanya