Auto Orientation

Hi;
I'm trying to learn flash builder. Making a simple application used tab views.
I  designed the page, but when I switch orientation, some objects not seen
on a screen.
How can I adding auto orientation to my application.
peace

Hi,
  This is the FormCentral forum, You may want to check the Acrobat forum: http://forums.adobe.com/community/acrobat
I believe the orientation that you initially scanned in your pages will be the orientation saved in the PDF file.  Now, you will need Acrobat to manually rotate the specific-page-orientation.  Depending on which version of Acrobat you have, you should be able to either change the view of a page by selecting 'View/Rotate' or  'Documents/Rotate Pages'.  Acrobat will not rotate it for you automatically after scanning.
Thanks,
Lucia

Similar Messages

  • Adobe air 3.4 + auto orient

    I'm having trouble with getting the app I'm creating (using Flash professional CS6) to auto orient reliably.  if the app is moved from portrait to landscape, it works fine.  when moved back from landscape to portrait, then the screen items do not move to the desired spots.  within each of the "if" statements I also have commands for setting where screen items within the milApp movie clip are to appear.  Any help is greatly appreciated.
    //function to set the stage orientation for the app;
    function orientMilApp(event:Event):void
        var device_width:int = appStage.stageWidth;
        var device_height:int = appStage.stageHeight;
        if (device_width > device_height)
            milApp.gotoAndStop("landscape");
            //set the height, width, and position of the cheat sheet;
            milApp.cheatSheet_mc.x = 0;
            milApp.cheatSheet_mc.y = 100;
            milApp.cheatSheet_mc.height = 1657.25;
            milApp.cheatSheet_mc.width = 1280;
            milApp.closeButton_btn.x = 1200;
            milApp.closeButton_btn.y = 101;
            //set the dimensions and position of screen items for the driver manual
            //set the dimensions and position of screen items for the reference manual
          } else {
            milApp.gotoAndStop("portrait");
            milApp.closeButton_btn.x = 720;
            milApp.closeButton_btn.y = 101;
            //set the height, width, and position of the cheat sheet;
            milApp.cheatSheet_mc.x = 0;
            milApp.cheatSheet_mc.y = 100;
            milApp.cheatSheet_mc.width = 800;
            milApp.cheatSheet_mc.height = 1035.80;
            //set the dimensions and screen items of the driver manual
            //set the dimensions and screen items of the reference manual
    appStage.addEventListener (StageOrientationEvent.ORIENTATION_CHANGE, orientMilApp);

    Having not known the devices you want this to be on, I'd go back to simply measuring the devices resolution width versus height and translate that into landscape or portrait. All you calculations should be based on the returned resolutions for placement of items. It will require somewhat of a layout engine and for you to clearly mark what device resolutions you support.
    For instance it's pretty easy to handle Apple because you're really only dealing with 1024x768 or 2046x1536 and portrait is DEFAULT. However if you're just measuring device width and height, you'll still get the same result, portrait, from your measurements.
    Android is really rough but gives you more granular control over the minimum and maximum size and resolution of the device. You can clearly mark in your apps android settings that you only support say, 7"-10" devices with a resolution of a certain size (marked as ldpi, mdpi, hdpi, xhdpi). For more info and what all those settings mean, read here: http://developer.android.com/guide/practices/screens_support.html
    xlarge screens are at least 960dp x 720dp
    large screens are at least 640dp x 480dp
    normal screens are at least 470dp x 320dp
    small screens are at least 426dp x 320dp
    Staying inside xlarge keeps you in the 7-10" safe range for a larger tablet like the Galaxy.

  • Aspect ratio: Auto vs. Auto orientation

    What is the difference between the settings "Aspect ratio = auto" and "Auto orientation = true"?
    -Aaron

    The aspect ratio setting of portrait, landscape, or auto, controls what orientation the app opens up in. Most times you would choose portrait or landscape, but in doing so you’re saying that the app only uses that ratio. If you have an app that is both portrait and landscape, then auto might make sense. You would also want to include all of the possible splash screens, not just the portrait or landscape ones.
    Auto orient controls whether the app will rotate around when the user turns the device 90 or 180 degrees. For iOS apps you would most likely want that to be on, because it’s a requirement for the iTunes store. But, as an alternative you can have it set to be off, then change that at runtime to be on at the right times. One example use case would be if part of the game play involves using the accelerometer, you wouldn’t want the screen to rotate on the user while playing that part of the game.

  • Flex mobile orientation: force portrait mode and then allow auto orientation

    I'm creating a flex mobile project and I want to force the app to portrait orientation when I click a button, and when I click other button allow again to change the orientation.
    This is my code when I click the first button, where I want to force portrait mode:
    protected function click(event:MouseEvent):void{      if(stage.orientation != StageOrientation.DEFAULT){           stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, orientationChanged);           stage.setOrientation(StageOrientation.DEFAULT);      }else{           doSomething();      }  }  
    private function orientationChanged(event:StageOrientationEvent):void{      doSomething();      stage.removeEventListener(StageOrientationEvent.ORIENTATION_CHANGE, orientationChanged); } 
    private function doSomething():void{      stage.autoOrients = false; }
    It works ok and it changes the orientation if it's needed.
    Now, when I want to allow orientation change again, I've only putted:
    stage.autoOrients = true;
    It works ok if when I click the first button the app is in portrait and it doesn't have to change anything. But if it's on landscape and it have to change to portrait, when I allow orientation change again, it doesn't work ok.
    Do you know if I have to allow or change something? Or, is there any better way to do this?
    Thanks in advance

    Thanks for your answer. It works, but I have the same problem that I have setting the orientation. If I'm on landscape, it changes to Portrait ok, but when I want to allow auto orientation again, it doesn't work well.
    A little tricky I've found is:
    When I want to force to portrait:
    private var oldOrientation:String = null;
    protected function click(event:MouseEvent):void{
       if(stage.orientation != StageOrientation.DEFAULT){
                oldOrientation = stage.orientation;
                stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, orientationChanged);
                stage.setOrientation(StageOrientation.DEFAULT);
       }else{
                doSomething();
    private function orientationChanged(event:StageOrientationEvent):void{
                // do something if you are changing to portrait mode (the first change) and other thing if you are changing to old orientation
    And when I want to allow auto orientation again:
    if(oldOrientation != null){
            stage.setOrientation(oldOrientation);
            oldOrientation = null;             

  • Disable Auto Orientation only in a specific frame!

    Hi there! 
    I appreciate if you please guide me with your experience in Mobile App design.
    My App contains 5 frames of data (movieclips), that each frame has 2 designs:
    1- Stand mode design    (portrait)
    2- Wide mode design     (landscape)
    So far it works great and I have published my App both on Google Play and Apple Store.
    Frames structure is as follows:
    frame   1            Loads External Data
    frames 2-6         Each frame contains 1 MovieClip designed based on mobile "Stand mode"
    frames 22-26     Each frame contains 1 MovieClip designed based on mobile "Wide mode"
    (Example: contents of frame 2 and 22 are the same, also 3 & 23 ... 6 & 26)
    (frame 2 is STAND design, 22 is WIDE design, and so on)
    In "Air Setting Dialoge", I have selected aspect ratio "Auto" and "Auto orientation".
    And I have this code in Frame 1 to do the rotation trick:
    stage.addEventListener(Event.RESIZE, resizeLayout);
    function resizeLayout(e:Event):void
                   setPosition();
    function setPosition():void
            //Phone turned from "Wide" to "Stand"
                   if (stage.stageWidth < stage.stageHeight)
                                  //App is now in "Wide" mode - means between frame 22 to 26
                                  if (currentFrame>20) 
                                                 //go to the same position of App but in "Stand" mode
                                                 gotoAndStop(currentFrame - 20);
                   else
                                  //Phone turned from "Stand" to "Wide"
                                  if (currentFrame<20)
                        //go to the same position of App but in "Wide" mode 
                         gotoAndStop(currentFrame + 20);
    Well, and finally my question:
    1- Is this way I have programed my App to rotate, a proper approach?!
          (in this way I can easily arrange objects on screen and also position them based on math calculations)
    2- If I want to disable auto rotation only when app reaches specific frames, what should I do??
       (for example I want the app Not to auto oriente in Frame 6 and 26., but it rotates in other frames)
    Hope it was not confusing and I cant wait to check out your valuable guidance!
    All the best and thanks a lot for your time.

    Hi there all!!
    Still I have no answer for my question No1, BUT I could find my answer to the 2nd question and here it is for your kind notice:
    Special thanks to Daniel Dura
    http://www.adobe.com/devnet/flash/articles/screen_orientation_apis.html
    I just added this code to my first Frame:
    stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGING, onOrientationChanging);
    function onOrientationChanging(event:StageOrientationEvent ):void
              if (currentFrame == 6 || currentFrame == 26)
                        event.preventDefault();

  • Photo: disable auto orientation?

    Is there a way to tag jpeg files so that ipod touch won't auto orient them?
    The default behavior is when viewing a landscape photo, I turn the ipod touch to landscape orientation and then wait for it to rotate the photo to landscape mode. Although this takes less than a second, it is still annoying.
    I would like all photos to be displayed in the orientation that maximizes display size and let me turn the ipod touch if I want to (or I can just tilt my head).

    i often think this would be a useful feature (not just for photos, personally i never use the landscape/coverflow mode when playing music - mostly because of the lack of control you have over what is playing - it's irritating if it switches by accident)
    tell apple you would like it: http://www.apple.com/feedback/ipodtouch.html

  • Full auto-orient via expression

    Hi!
    I'd like a 3D Null to get the orientation of 3D a layer. (without parenting, it would be too easy )
    I've tried a lot of solutions, through orientation, rotations, both combined... some results are close, but never perfect.
    If I'm right, orientation is computed before rotations...
    I think the simplest way would be with auto-orientation, or the lookAt() expression on orientation, wich gives me correct X and Y orientations, and then get an expression on zRotation to get a "full" orientation.
    But what would it be?
    How can I get the Z orientation in layer space?
    Any idea will be appreciated!
    François

    So here's what I tried:
    - scale expression
      var layer = thisComp.layer(  /* name of the parent layer */  );
      var scl = [1, 1, 1];
      while (layer != null)
        for (var j=0; j<3; j++)
          scl[j] *= layer.scale[j]/100;
        try
          layer = layer.parent;
        catch (err)
          layer = null;
      scl*100;
    - orientation expression
      function sign(x)
        return x>=0  ?  1 : -1;
      function getOrientation(u, v, w)
          // still the same thing
      layer = thisComp.layer(  /* name of the parent layer */  );
      u = layer.toWorldVec([1,0,0])*sign(scale[0]);
      v = layer.toWorldVec([0,1,0])*sign(scale[1]);
      w = layer.toWorldVec([0,0,1])*sign(scale[2]);
      getOrientation(u, v, w);
    I haven't tested it that much but the idea seems fine to me. In the scale expression note that I start the loop from the parent layer because in my case I want my parented layer to have the exact same scale.

  • StageOrientation without device auto-orientation

    There are lots of docs and posts online about being able to use StageOrientation without a device orientation itself having to change (disabling auto-orientation). I have tried autoOrients set to false and the alternative event.preventDefault ... but nothing works. Adobe Flash always changes the device orientation when I get StageOrientation.
    Is there a sample I can download? I have tried every publishing and Actionscript 3 setting/combination and it just isn't working. Auto orientation seems to be the only way to use StageOrientation.
    I am using latest Adobe Flash CC 2014 and can get the app to either auto orientate and show me the StageOrientation value, or lock the orientation and get not StageOrientation value. I tried this on a few ios devices and cannot get this working right. Please help.

    The docs say "In some cases you may want to disable auto-orientation to ... handle resizing the stage and rotating objects yourself. You can accomplish this with ... autoOrients property and set it to false. While you will still receive the ORIENTATION_CHANGE and ORIENTATION_CHANGING events when the actual device orientation changes, the stage will not update to try and match that orientation."
    This does not work in practice however (keeping in mind I have used various combinations of true and false autoOrients and preventDefault - nothing works as described, until setting autoOrients to true, but then the orientation changes, even when I use preventDefault as described in the docs!?):
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    stage.autoOrients = false;
    main.appOrientation.text = 'Loading...';
    // we can control which orientations we want to allow with the following code
    stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGING, onOrientationChanging );
    function onOrientationChanging( event:StageOrientationEvent ):void {
        main.appOrientation.text = StageOrientation;  
        // If the stage is about to move to an orientation we don't support, let's prevent it
        // from changing to that stage orientation.
        if(event.afterOrientation == StageOrientation.ROTATED_LEFT || event.afterOrientation == StageOrientation.ROTATED_RIGHT){
            //main.appOrientation.text = 'Change';
            event.preventDefault();

  • Auto orientation does not with Maps app

    iPhone 3GS with iOS 4 does not auto-orient to landscape in Maps display. Auto-orientation still works with other apps. Orientation is not locked.
    Any idea what's happening?

    Your statement is correct. Was there a question?

  • Change Camera Auto Orientation with Script

    Hello,
    I'm trying to figure out how to change the auto-orient setting for a camera in my script. From page 41 of the AE scripting guide it looks like I should be able to affect auto orient with
    " app.project.item(index).layer(index).autoOrient " this allows me to pull up a numeric value for auto orient, however, I'm not really sure how I could go about setting this to a false, I've tried assigning it to false directly but that doesn't seem to work. The guide says to use "AutoOrientType.NO_AUTO_ORIENT " But this if I try something like this I'm just getting undefined returned:
    var myProj = app.project
    var myComp = myProj.activeItem
    var targetLayer = myComp.selectedLayers[0]
    targetLayer.autoOrient.AutoOrientType.NO_AUTO_ORIENT
    Can anyone point me in the right direction, what am I doing wrong here?
    Thanks!

    Try changing your last line to this:
    targetLayer.autoOrient = AutoOrientType.NO_AUTO_ORIENT;
    Dan

  • IOS 8/iphone 6 photo auto - orientation

    I was taking some pictures with my iPhone 6 and realize a lot of times the pictures coming out with the wrong orientation. some of the horizontal shots came out to be vertical.  Anyone has the same issue?  is this a bug or hardware issue?
    Thanks.

    Both myself and my friend are having this problem on our fully updated iPhone 6 units. Also, it's so easy to email or message a photo to a friend and have it show up in the wrong orientation.
    Try calibrating your Compass app. Then check it every now and then because you'll have to recalibrate again and again. Seems to temporarily help.
    Another photo Camera app problem we're having is that you take a photo, and the Camera app appears to have taken the photo, but when you look for it in the Photos app, like in the Recently Added album, it's gone. Like it never existed.

  • Auto orientation only in landscape modes, text centering when typing

    Hi,
    I have two problems:
    1. I don't want to rotate my app when device is in portrait position, only flip it horizontal when it is rotated to another landscape position
    2. Text is not centered when typing into input textfield with centered text (but it is ok after confirming).
    Any help would be very appreciated!
    Thanks!

    I've had to solve this problem (#1), and there are many aspects and difficulties to it. I wrote up a long email about the problem, which I'll paste here. Hope you can follow along!:
    I’ve wanted to do autorotate landscape only, and thought that I only had the choice of either autorotate to all four orientations, or no autorotate at all, but I just looked into it, and through reading three different topics here, I managed to do achieve everything I wanted. So I’ll write it up here in case someone else doesn’t have as much luck searching through the old messages.
    In my particular case I have two reasons to want to be landscape: 1. The design is a landscape one, and not one that can easily be rearranged into a portrait mode. 2. We have gameplay that involves tilting the device, and although it’s fine tuned to work in a narrow range of tilting, people keep on tilting so much that the portrait mode kicks in. With the right kind of game, you could really lose your marbles when that happens!
    Those problems can be solved by not autorotating, and finding a way to force landscape. But then that runs into another issue. If it worked that way, an iPad version would be rejected by Apple.
    There are several problems to solve (which I think also apply to Android):
    Autorotate without allowing normal or upside down portrait.
    Make it be landscape from the start even if the user is holding it in portrait as they open the app (setting that in publishing doesn’t achieve the goal).
    Allow someone to change their mind about which landscape they want to use.
    Here’s the way to solve the first issue:
    stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGING, orientationChangeListener);
    function orientationChangeListener(e:StageOrientationEvent) {
    if (e.afterOrientation=="default"||e.afterOrientation=="upsideDown") {
    e.preventDefault();
    Once you’re in normal landscape, you can only be in normal landscape or upside down landscape. The Portraits are prevented from happening, because StageOrientationEvent.ORIENTATION_CHANGING happens before the autorotate kicks in.
    Making it be landscape from the start can be done like this:
    stage.setOrientation(StageOrientation.ROTATED_RIGHT);
    but that would only work well for the majority. People who like to hold the device in the upside down landscape would be frustrated. So that can be taken care of by looking at which way the device is at the time the app is opened. Also, as it may initially be in Portrait (because the user doesn’t yet know that your app is landscape designed), you have to decide with landscape to give them. I reason that giving them the normal landscape would be the safer bet. That all comes out as these lines:
    var startOrientation:String=stage.orientation;
    if (startOrientation=="default"||startOrientation=="upsideDown") {
    stage.setOrientation(StageOrientation.ROTATED_RIGHT);
    } else {
    stage.setOrientation(startOrientation);
    That’s nearly all the problems solved, but there’s one last one, which I’ll log a bug about (once there is an iPhone beta again). If you open the app in rotatedright and then change your mind to want to use it as rotatedleft, the autorotate works wonderfully. Unfortunately, if you start in rotatedleft and then want to use rotatedright, the autorotate does not work, no matter how many contortions you do. You have to quit the app and hold it in portrait or rotateright from the start.
    This turns out to be easily worked around, by doing the counterintuitive step of setting Portrait in publishing settings. Then when you tell it to be one of the landscapes by doing stage.setOrientation, the app can tell that going from rotatedleft to rotateright is a change of rotation, because it already got kick started with a change away from the default setting of Portrait.

  • How to change the default orientation?

    Hello,
         I'm new to Adobe Flash Builder and I am currently making a mobile application for a school project. I was wondering how you change the default app orientation to landscape. I've tried going into my app.xml and change the aspect ratio to landscape with no luck, and it is very hard to find any answers on the internet. I would greatly appreciate your help.
    HomeView.mxml Code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        actionBarVisible="false" tabBarVisible="false" title="HomeView">
              <fx:Declarations>
              </fx:Declarations>
              <s:Image left="0" right="0" top="0" bottom="0" scaleMode="zoom" smooth="true"
                                   smoothingQuality="high" source="@Embed('file:///C:/Users/Owner/Downloads/48127-solarsystem-teaser.jpg')"/>
              <s:Button x="-5" y="0" width="410" height="1504"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Sun)"/>
              <s:Button x="444" y="852" width="80" height="80"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Mercury)"/>
              <s:Button x="628" y="742" width="120" height="124"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Venus)"/>
              <s:Button x="836" y="632" width="127" height="117"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Earth)"/>
              <s:Button x="994" y="506" width="99" height="96"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Mars)"/>
              <s:Button x="1255" y="464" width="298" height="279"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Jupiter)"/>
              <s:Button x="1626" y="302" width="274" height="270"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Saturn)"/>
              <s:Button x="1965" y="196" width="175" height="174"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Uranus)"/>
              <s:Button x="2201" y="66" width="175" height="174"
                                    skinClass="spark.skins.mobile.TransparentNavigationButtonSkin" click="navigator.pushView(Neptune)"/>
    </s:View>
    App.xml code:
    <!-- 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>landscape</aspectRatio> -->
                        <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile
                                  only. Default false -->
                        <!-- <autoOrients>false</autoOrients> -->
    I need to make it so that the app is permanently in landscape.
    Thanks again.
         8th grade student

    <!-- <aspectRatio>landscape</aspectRatio> -->
    <!-- <autoOrients>false</autoOrients> -->
    In XML, everything within <!-- and --> is a comment.  You need to remove the <!-- and -->:
    <aspectRatio>landscape</aspectRatio>
    <autoOrients>false</autoOrients>

  • Photo orientation off in appletv

    Help please.  I have been using Aperture 3.3.  Downloaded some photos from a Sony Cybershot DSC-W200.  This camera is slightly broken, or glitching, because after I take a photo, it sometimes shows up sideways or upside down, even on the camera display!  Auto orientation is set to "on" in the camera.  So I know there is a problem here, but it still takes great pictures.  I can easily rotate the pictures after downloading to Aperture, and all looks good!  Until I just picked up an AppleTV3.  Now, when I share my Aperture library to the AppleTV, the pictures on the TV are sideways and upside down again, and don't appear as they do on Aperture!  How can I straighten this out?? 

    I tried your solution - went ot File Menu, Homesharing, Choose Photos to share with AppleTV, closed iTunes, re-opened.... then went back to TV and AppleTV and drilled down through the menus. It took awhile to find where the Photos are hidden in plain sight! I THINK it is going to work. I still don't see any indications that my Mac iTunes is seeing the TV, but the photos do appear to be trasferring. The Photos selection is buried under Music as a sub-tier after the rest of the list, Artists, Albums, etc. Right now, spinning wheel, I think because it is doing a first time 'load'.

  • Creating a email extension for ios... it keeps flipping the orientation of the app when closing.

    I know, if I need help I should go post on some apple board... but it's information overflow.... and I am not 100% sure it's related to the extension.
    Here's the problem
    I am creating/using an extension to open the MFMailComposeViewController.
    Now, I figured out how to open it and force it to landscape, but the problem is  when I close the email it, my app flips upside down. (landscape left when it was landscape right before, or vice versa)
    My app is set to force landscape left and right... and the mail controller does open in landscape... but it's either upside down (landscape right, when the app is left, or vice versa) or when it closes, it flips the application the other way.
    Has anyone encountered anything like this and ideas on how to fix it?
    My app publish settings, I set to landscape, auto-orient is set to false and it's full screen,
    However, on start up in code... I am setting stage.autoOrients = true and then using the CustomOrientation.as to control the rotation (to force landscape only)
    in my extension, I am showing the MFMailComposeViewController in the
    [[[[UIApplication sharedApplication] keyWindow] rootViewcontroller] presentModalViewcontroller:mailCompser animated:NO];
    and mailCompser is a subclassed MFMailComposeViewcontroller object and I have set it's override to this:
    @implementation MailCompose
    -(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientati on {
        return (toInterfaceOrientation == UIInterfaceOrientationLandscapeLeft || toInterfaceOrientation == UIInterfaceOrientationLandscapeRight);
    When I launch my app, it starts
    stage.orientation = rotatedRight
    I then launch my extension and the email page for ios appears, in the correct orientation.... if I rotate the device, both the email and the app rotate to rotatedRight or rotatedLeft correctly.
    I then click Cancel, delete draft
    The email window disappears, but now my screen is landscape left.... if I wiggle the device, the sensor picks it up and then rotates the app back right, but this is a major problem.
    I am thinking it has something to do with the rootViewController orienatation, but I don't know enough about objC and xcode to know what to do.
    I have tried googling and searching will little to no luck... but then, the answer could be staring at me and I would have missed it as I am an obj c noob.
    Anyone know how I can fix this?

    Hi,
    I had the same problem and found the following workaround: apart from overriding MFMailComposeViewController's shouldAutorotateToInterfaceOrientation, I also added implementations for
    _preferredInterfaceOrientationGivenCurrentOrientation
    and
    _isSupportedInterfaceOrientation
    in a category of UIViewController in the native code.
    Then, in the Actionscript code, added an event listener for StageOrientationEvent.ORIENTATION_CHANGING (with high priority and use_capture = true) in Actionscript to prevent resizing of the stage, which can occur even if the orientation doesn’t change.
    This fixed it for me, but, as it messes with UIViewController, it makes it tricky to have views which have different orientation behaviour (if you want one view to be able to rotate in all directions, but others only to support Landscape, for example).
    I've posted details and example code here: http://blog.diadraw.com/native-extensions-for-mobile-air-apps-getting-round-the-orientatio n-issue/

Maybe you are looking for

  • Error while installing CRM 4.0 SR1 with Oracle 10.2 on Windows 2000 Server

    Hi.. I'm getting error messages in the Database Instance phase, while installing <b>CRM 4.0 SR1 with Oracle 10.2</b> on Windows 2000 Server. Following are message snippets with last few lines showing error message: <b>SAPSSEXC.log</b> [code](DB) INFO

  • ITunes 8003 error with Windows XP too

    On Windows XP Pro I just downloaded 11 of 12 tracks. For the twelfth a 8003 error occured, with the message that the download was stopped because the network was interrupted. But the network is fine! I tried signing out/signing on and checking for pu

  • Nokia 6700 supported by Nokia Multimedia Transfer

    Hello All, Please note that Nokia 6700 device is supported by nokia multimedia Transfer for mac http://europe.nokia.com/support/download-software/nokia-multimedia-transfer/download Download Nokia Multimedia Transfer Connect the device and select PC s

  • Magic Mouse multi-touch surface not working.

    Three months ago, I purchased the Magic Mouse. Recently, the multi-touch surface has not been responding. The tracking and bluetooth connections are fine. I have checked the Mouse Preferences and these appear to checked correctly. Any suggestions?

  • NOT SURE WHICH APPLICATION I WOULD NEED - CONFUSED

    I am considering purchasing a Photoshop Software.  Just started taking courses on line. I would like to be able to work with photos along with creating jpegs for now. Later on, I would like to learn how to create simple animations.  I have many other