Skip navigation
Currently Being Moderated

flex builder mobile 4.6...only horizontal

Dec 14, 2012 3:10 AM

how to set flex 4.6 Mobile only in a horizontal position???


  • Currently Being Moderated
    Dec 17, 2012 2:18 AM   in reply to rabbit78

    your will have a app.xml in your project, find it out first


    then, edit the following xml from comment:

    <!-- The initial aspect ratio of the app when launched (either "portrait" or "landscape"). Optional. Mobile only. Default is the natural orientation of the device -->

    <!-- <aspectRatio></aspectRatio> -->

    <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->

    <!-- <autoOrients></autoOrients> -->


    to xml like this:

    <aspectRatio>portrait</aspectRatio> (or landscape, it depends)




    and in fact, as I remember you can determine this property when you create new project

    editing the xml is only use when you change your mind after creating the project

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points