When you create a new mobile project (actionscript or flex) it asks if you want it to auto-orient. This setting can be edited for existing projects in [project name]-app.xml.
What I can't figure out is how to fix the application in landscape mode, as it seems to default to portrait.I could rotate the content myself, but the I'd have to convert screen events and previewing on the desktop would mean a lot of head twisting. Anyone know how to do this?
Can you get Rasputin Rabbit back in the hat? Play Houdini's Hat (made with Away3D):
You can set initial orientation in the [project]-app.xml using <aspectRation>landscape</aspectRation>.
You can set initial orientation in the [project]-app.xml using
The question I have is how to you lock the orientation when tablets and phones are opposite from each other. Test your locked app on the Xoom and then on the droidX. You will see landscape on the phone is wide instead of tall and landscape on the Xoom is tall instead of wide. I understand that "portrait" seems to mean the default aspect of the device, but portrait has ALWAYS meant tall and landscape has ALWAYS meant wide in all creative applications. Why would this be different? Please tell me how I can fix my application to have the "wide" aspect on both a phone and a tablet without building two applications.