Can't seem to control screen orientation on Android

I'm trying to use Flash Pro with Air 3.2. I'm used to making apps for iOS and the orientation handling seem much more elegant.
Can someone point me in the right direction for Android. There must be a magic combination of setttings to get this to work?
Trying to use this with Aspect set to Landscape and Orientation set to Auto, but it really freaks out on my Galaxy tab. Keeps switching all the time and rarely matches the orientation I am holind the tablet in.
stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGING, orientationChangeListener);
var startOrientation:String = stage.orientation;
if (startOrientation == "default" || startOrientation == "upsideDown") {
          stage.setOrientation(StageOrientation.ROTATED_RIGHT);
} else {
          stage.setOrientation(startOrientation);
function orientationChangeListener(e:StageOrientationEvent) {
          if (e.afterOrientation == "default" || e.afterOrientation == "upsideDown") {
                    e.preventDefault();
EDIT: I'm using a Galaxy Tab to test if that matters. It seems like my device is pretty slow to react to orientation on the desktop, but it goes haywire in my app.
Thanks for any help you can provide.

I guess if this is a feature in 3.3 it must be know to not work in 3.2?
http://labs.adobe.com/technologies/flashplatformruntimes/air3-3/
"Aspect Ratio Enhancements — With AIR 3.3 the issue with the runtime ignoring the specified aspect ratio has been resolved. In this release we address this use-case by allowing only screen orientation corresponding to app specified aspectRatio and orientation corresponding to 180 degree device rotation from the specified aspectRatio."
Is there a workaround? Is it possible to prevent portrait view on a landscape app under 3.2? I can't get it to not distort my app to a portrait view.

Similar Messages

  • HT4906 i'm using an older version of iPhoto on my desktop Mac and I can't seem to control the number of photos appearing on my iPhone and iPad, will upgrading to the newer iPhoto resolve this?

    i'm using an older version of iPhoto on my desktop Mac and I can't seem to control the number of photos appearing on my iPhone and iPad, will upgrading to the newer iPhoto resolve this?

    What version do you have?
    iPhoto menu -> About iphoto.
    What goes to your iPad/iPhone is controlled in iTunes.
    Regards
    TD

  • Why can't I change the screen orientation of my iPad?

    I just upgraded my iPad to IOS 7.0.4.  Suddenly it seems to be locked in portrait mode.  I have tried turning the lock feature off and on, but that doesn't help.  I am at a loss.

    Unfortunately not.  I found a work-around that allows me to use the device in landscape format. I use the accessibility settings in settings (under general) and turn "assistive touch" on.  A white dot appears on the screen.  When you click on that, you can rotate (and lock) the screen in any position you like.
    It's not ideal, but so far it's all I've got.  I'd like to bring it into a genius bar, but haven't had time.

  • Audio problem; can't seem to control where the sound is coming from!

    Good day!
    I am currently trying to set up a VERY basic "two camera shoot" using my built in iSight, and a Sony DCR-TRV315 Digital-8 w/FireWire camcorder.
    (I know, I know; I'm breaking all sorts of rules using such unmatched cameras. I'm a terrible videographer.)
    I'm NOT capturing from tape, however. I'm just using the lens of it to get a different shot. By just plugging it in, iMovie recognizes it, just as it would a FireWire webcam, and allows me to capture straight to the hard drive.
    To record audio, I'm using a Griffin iMic (USB preamp) with a Sony lavaliere mic.
    I have, of course, selected the iMic as the device for sound input in Sound Preferences.
    When I set the input camera to the built in iSight, the iMic kicks in and the lavaliere works like a dream. However; when I switch to the Sony camera, the iMic seems to get overridden, and the Sony camera's built-in mic kicks in! And the Sony camera isn't even IN the "choose a device for sound input" box in Sound Preferences!
    Is there any way to record JUST the video from the Sony DCR-TRV315, and keep the audio coming in from the iMic? I can't seem to find an audio preference that would control this, like you'd find in Garageband for example. This is a big problem. The look of the video changes enough between shots; I can't have the sound changing with it!
    Thanks for any help!

    Thanks everyone.
    Unfortunately, I think that M. Dubose is correct; for some reason, it doesn't want to seem to split up the FireWire input.
    The real kicker is that, by using the Griffin iMic along with the built-in iSight, I'm ALREADY getting sound and video from two separate sources. It just doesn't want to let me split this FireWire signal like it will the iSight's video signal/built in microphone.
    If it wasn't for this one thing, the input toggle could work quite effectively as a basic switcher. Hopefully, in future iMovie builds, the need for an independent iMovie Sound Prefs will be addressed, as that'd likely take care for this whole thing.
    The other issue is that the camera I'm using isn't true DV; it's Sony's proprietary Digital 8 format, which unfortunately, ain't too hot for image quality. That's why I'm hesitant to record to the tape and import. However, the lens and the FireWire port are still very valid, so by recording directly to the hard drive, it should have been fine for my needs.
    Also; the idea of THAT much precise editing in a single-channel software just makes my head spin. Switching inputs between shots would have been so much easier. Ah well. iMovie is a good program otherwise; I guess you just can't expect the world from free software, eh?
    I'll probably test it with a buddy's FireWire camcorder to make absolutely sure that it isn't just some freaky incompatibility keeping me from selecting the audio in of my choice. But I can't say that I'm too optimistic.
    Thanks again, everyone!

  • Can't seem to control power agenda

    I've tried everything I can to avoid having to login.   Even if I'm burung a disk  the screen will turn off after about 5 minutes and I will have to login.  I put all items at 400 min (while on AC) select apply but nothing seems to work.
    I use the 520 at home so there are no security issuse.  
    I would like the machine to go into standby after 2  hours of inactivity.   Nothing more complicated than that.
    Any one have any advice?   Thanks.

    Hello rsay777,
    Kindly try the following troubleshooting to resolve the issue.
    1. Right click on the desktop and select personalize
    2. Click Screensaver
    3. Uncheck box which says on resume, display login screen and click OK
    If the issue persist look for any auto lock software in Control Panel > Programs and features
    Last you can try creating new user account and login with it.
    Best Regards,
    Tanuj
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • After the last upgrade of OS X Mountain Lion I can't seem to adjust screen brightness anymore. Why and how do I solve this?

    My screen brightness used to adjust itself and if not I could use f1 and f2 keys. After my last upgrade of OSX Mountain Lion, these do not seem to work. Does somebody know what happened and how I can return to the original situation?

    Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/ht3964
    Resetting your Mac's PRAM and NVRAM
    http://support.apple.com/kb/ht1379

  • Running 10.6.8 and I can't seem to take screen shots.

    They come out blank that is. Anyone know why this is? I don't think I've dumped any apps that relate to screen shots.

    Phoenix,
    Like the others mentioned you need the 10.6.8 version to do an upgrade over your existing OS.
    Have you tried a clean install after backing up your data and erasing your HDD? I'm assuming your hardware qualifies. If your USB stick is bootable you could do a clean install with it. Or if you have the InstallESD.dmg file, burn it to DVD and perform a clean install.

  • I have the older generation ipad and the screen orientation is locked. I don't seem to have a switch option under General. Can you help me?

    Ipad orientation of screen is locked. I don't seem to have the command for switch on general systems settings.
    Any ideas?

    If you see a lock icon in the upper right corner of the screen - then the screen orientation is locked.
    Try the side switch above the volume rocker first and see if that unlocks the screen. If that doesn't do it, double tap the home button and swipe to the right and look for the lock icon all the way to the left.
    If the screen is unlocked but still will not rotate, reset the iPad.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • How can I change screen orientation on my iPad air 2?

    How can I change the scrEen orientation on my new iPad Air 2? I do not see a lock device on the side like my old iPad has.

    Tap the padlock icon in Control Center.

  • I have a problem with Safari in IOS 8 on my iPad 3. The bookmarks take up a third of the screen and I can't seem to make the bookmarks disappear until I need them. The useful part of the screen is therefore very small. Any suggestions gratefully appr

    I have a problem with Safari in IOS 8 on my iPad 3. The bookmarks take up a third of the screen and I can't seem to make the bookmarks disappear until I need them. The useful part of the screen is therefore very small. Any suggestions gratefully appreciated.

    OK, it now sort of works. A couple of problems here:
    After updating IOS, Safari iCloud was "automatically" switched off
    Switching it on had no effect
    resetting my iPad automatically switched off safari iCloud again
    after switching it back on, it said "turning off safari data"
    switched it off and on again, now it said : "turning on safari data" and the sync worked
    On IOS 7 no problems
    The bookmarks not being displayed was because after pressing the book icon, it defaulted to showing the history and I had to press "Back" to get to the other options

  • I upgraded my iMac to 10.9.4.  Now the feature where you can go to 4 diff. screens (Command+Control) doesn't work.  How do I fix this?

    I upgraded my iMac to 10.9.4.  Now the feature where you can go to 4 diff. screens (Command+Control) doesn't work. 
    How do I fix this?

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • My macbook pro's screen display has suddenly gone into a strange colour setting where everything appears in a kind of infrared colour palette an I can;t seem to change it back.  It's the same for all icon and websites, does anyone know how to restore?

    My macbook pro's screen display has suddenly gone into a strange colour setting where everything appears in a kind of infrared colour palette an I can;t seem to change it back.  It's the same for all icon and websites, does anyone know how to restore?

    Wow!  I think I had this same issue just last night.
    I was cleaning my macbook pro retina on the outside.  Then I opened it up and was wiping dust off the monitor and I can't pinpoint exactly when, but the colors changed suddenly.  It looked super strange, it was like green halo's and it looked worse when looking at it at an angle.  Of course I took no pictures!!!  I was freaking out that my 2 grand laptop was busted and I somehow removed a protective film or something.
    But I digress...  The image looked very green and spacey, it was almost a neat effect.  After about 5 minutes it started to look a little more digital though.  There were straight lines of this halo effect on the edges and top.  After about 10 minutes it turned into a predominate issue with the blacks on screen.  I could open a web browser and it was unnoticable on a white background.  After about 15 minutes, you could only barely see the green cloud effect if you looked at the monitor from an extreme angle.  After about 20 minutes, it was completely back to normal, I almost feel paranoid like I see a halo or something strange.  But I believe that might be all in my head now.
    So yerp, lemme know what you guys figure out.

  • I have an older Power Mac G5 Quad, and my video card just went out. I am trying to find a video card that will work for my Power Mac. I have duel screens but I can't seem to find the appropriate video card

    I have an older Power Mac G5 Quad, and my video card just went out. I am trying to find a video card that will work for my Power Mac. I have duel screens but I can't seem to find the appropriate video card. The serial number on my computer is: RM620603R6W. Apple won't help me because the computer is older than suggested. Please give me the exact video card that will work best for my computer.

    Hi Mike, make sure the card has Mac ROM, or is a PC card with Mac ROMs flashed to it...
    G5 PCIe options are listed here:
    http://www.jcsenterprises.com/Japamacs_Page/Blog/71BBF3EF-9713-4C53-8B80-26771F8 A4087.html

  • My new iPad mini is connected to a Logitech keyboard but can't seem to get it to type instead of the touch screen version on the iPad - any hints?

    My new iPad mini is connected to a Logitech keyboard but can't seem to get it to type instead of the touch screen version on the iPad - any hints?
    Michael

    Is this a Bluetooth keyboard?
    Have you turned on Bluetooth in iPad's Settings app?

  • I have just uploaded the new software and a strange app has appeared on my home screen ( a grey target, panorama thing without the man) there is no title under it and I can't seem to delete it. What is it? Do I need it? How do I delete it?

    I have just uploaded the new software and a strange app has appeared on my home screen ( a grey target, panorama thing without the man) there is no title under it and I can't seem to delete it. What is it? Do I need it? How do I delete it?

    Thanks for responding so quickly!I also tried that and it still didnt' work.I tried to take pictures while using the flash.I think my only option at this point is to go to Apple........

Maybe you are looking for