Setting aspect ratio to landscape doesnt always work correctly.

I am building an app for both Android and iOS... I am testing on an iPad2 and a Nexus tablet (for iOS and android). 
In my -app.xml, I have  <aspectRatio>ANY</aspectRatio> and <autoOrients>true</autoOrients.
I allow the app to auto-orient to any position. There is an exception... 1 part of my app I need to be "LANDSCAPE" only, and then when leaving that part I want to resume the "ANY"
Depending on the current orientation, telling the app to "stage.setAspectRatio(StageAspectRatio.LANDSCAPE)" yield different results.
When my apps orientation is "default" or "upsideDown", it works correctly. (basically its going from portrait to landscape)
When my apps orientation is "rotatedRight", it works correctly (even though the "rotateRight" state is already landscape).
When my apps orientation is "rotatedLeft", it does NOT work correctly. It does indeed make the app landscape (even though its already landscape), but it forces the app to do a 180 flip, and my content is upside down.
Has anyone else experienced anything like this? I have a feeling this will get no replies and fade away into the interwebs

I found my own answer!!!! apparently even though I am using AIR 3.6, I still needed to include a compiler argument...
-swf-version=18
without this, not only does the landscape not behave correctly, sometimes calling the "stage.setAspectRatio(StageAspectRatio.ANY)" will throw an error.
WHEW

Similar Messages

  • How to fix an error in sequnece setting (aspect ratio)?

    Hi,
    I have been working for a while on a project in CS4. I have created a sequence in it with an aspect ratio (AR) of 4:3 - worked for hours on it - but I should had the sequence created instead in 16:9. I realised it a bit too late...
    So how do I fix it?
    Apparently amending the sequence setting for AR cannot be done - please let me know if there is any way of doing this.
    Someone suggested editing the PRPROJ file of the project - but when I opened it I was unable to detect under the sequence name (I found a few entries with it) where I can easily change the sequence to 16:9.
    So then I found people suggesting I copy/paste all the assets from the sequence into a new one that is correctly configured with 16:9. When I did this - CTRL+A and Copy, then paste into a new sequence in the same project - it copied all the clips and I think also all the transitions. But the key element that it did not copy over were all the changes I have done to the sound - I have been editing via the sound mixer (in Write mode) the sound, and then also made changes to the master track volume levels. These were not copied over.
    I really don't want to have to do the mixing all over again. If someone can explain how I can fix the problem in any way I would be most thankful.
    While I am here asking - another 2 small questions that have been bugging me:
    How I can copy and paste volume keyframes from either the master track or a clip and apply it on another clip/section of the clip that would be very helpful. This would for example be useful if I am able to find a certain volume level that I would like to apply to the desired section without the need to sit and "record" (using the Write function) those settings on the desired area. If there is any means to apply the properties on audio track this way - that would be really useful and time saving.
    A best practice hint: when you try and create a sound level for a project - what PC volume level setting do you set in your PC that you use as a benchmark by which we then work out the sound level that would be created in the project? Obviously if I push my PC volume al the way up I would probably mix my sound in the project too low. And if I set the PC volume too low - than I would probably be setting the overall sound level too high and get distortion. As the movies I created would be burnt onto a DVD - what is the volume level on the PC (if there is any means of establishing a standard volume) that I need to match first before I go and figure out what level of sound the finished DVD would have? Of course I can work on say a 50% and then apply gains and volume increases based on that 50% of the max sound my PC plays out. But that sounds pretty much like a random setting and not optimised for other devices.
    My system:
    Windows 7, 32-bit
    CS4, v. 4.2.1
    This looks like a fairly basic question but I am unable to find a good answer to it...
    Many thanks to the person who shows me how this can be done without me going crazy over the need to start all over again...
    Eroka00

    Hi Ann,
    Your tip saved me a lot of time indeed....!
    So I created a new sequence, made sure it was 16:9, copy pasted all of the assets, but then had to do the following:
    1. Copy/Paste Attributes for all the video clips (these do not transfer);
    2. As you suggested used the whole of the old sequence as a nested sequence in the new one, eliminating the video altogether.
    I still had a nagging issue that the project would not render or export well - but that turned out to be an issue with rendeiring large files (the video was an uncut clip of almost 10GB, andother of 6GB). Splicing these into 10 minute segments and rendering them separately did the trick.
    It's ben amlong Xmas weekend and endless hours spendt on this project. Yaikes!
    Thanks for the workaround idea!

  • Help with setting aspect ratio

    Could someone please help me with an aspect ratio problem. I have just updated to iMovie 6 and want to work with an existing movie project created from iMovie (version before the ilife 5 version). On opening the project in the new version it is in widescreen and I would like to convert back to a regular format (regular display format) I would be most grateful for any help
    Thankyou

    Well, I guess I thought the video in Motion needed to look more rectangle (16x9) than square (4:3). Since it did in FCP. And my FCP sequence setting>Aspect Ratio says NTSC DV 3:2
    I am used to working with plain MiniDV 4:3. I shoot with Sony PD150. I don't understand or never had to deal with Aspect Ratios. This project they wanted a widescreen look so I switch the camera to 16x9.
    I don't think it is the real 16x9 but like I said I don't know about this stuff or why my camera has 16x9 on in if it is not the real thing.
    Feel free to comment, I am trying to learn

  • Still image pixel aspect ratio wrong in exported video (but correct in Premiere renders)

    I've saved a targa still image from my footage and added it to the bin. It's properties show as follows:
    Image Size: 1440 x 1080
    Pixel Aspect Ratio: 1.3333
    This correctly matches my sequence settings as I'm working with 1080p widescreen footage.
    The image appears as expected in the Program window both before and after rendering previews. However, once I export my sequence as a video file, the still image is squashed (displaying incorrectly):
    A work around would be to stretch out the still to a width of 1920 in Premiere so that the export displays it back at its normal aspect ratio - which works - but I don't understand why I should have to do this.
    The other solution I found was to go to the bin and 'Modify > Interpret Footage' and although "Use Pixel Aspect Ratio from File" already shows the correct settings, to actively reset it (to the same pixel aspect ratio)  with the 'Conform to' option:
    This works too.
    Surely a bug?
    (using Premiere Pro CC)

    Thanks for the quick reply. But then why does the still's properties (in my bin) show the pixel aspect ratio as 1.3333 (not square pixels, 1.0) and should it not appear incorrectly in both the preview renders and the exported video ? This seems inconsitent to me.

  • Setting Aspect Ratio when cropping to A3

    Hey folks being new to Lightroom 5.6 I'm probably doing something stupid and I am sure there is an easy solution; I just don't know what it is..
    I have 23 RAW images in my LR Catalogue that I wish to crop, but I also know that I will be saving them as A3 JPGS at 300ppi.  So the first thing I did was go into the Print module and select my Canon Pixma Pro printer so that I can then select a paper size of A3.  In the print module, each image then displays A3 on the left hand side of the main preview window.  So good job, that bit is successful.
    So now I need to crop the images.  I had previously tried cropping them to A4 and therefore had typed 8.27x11.69 into the Custom Aspect Ratio setting (yes I know we're talking inches here.... LOL).  Well I then reset all the images so that their Aspect Ratio is set to "As Shot" and when I select done, the little crop box in the previews along the bottom of the screen disappears....  Still with me?  Oh I hope so
    So now the images are back to their original size as if they were straight off the camera, I selected all 23 images and pressed 'R' to enter the crop function.  Under the Aspect Ratio, I selected "Enter Custom" and tried entering both 297x420 (mm) and also 11.7x16.5 (inches).  On entering each of these ratios, whenever I select <OK>, the Ratio always reverts back to 8.27x11.69, as in A4, which was a custom ratio in the first place!!!!
    Any help on how I can set the Ratio correctly for A3 so that i can actually start doing some cropping would be greatly appreciated.
    Many thanks....
    Lewis

    Sean what a wombat!!!!   (Me that is, not you..... LOL)
    Of course, A3 is two sheets of A4,  That would explain why Lightroom kept showing 8.27x11.69.
    Many thanks for answering what is really common sense when one thinks about it.  Sorry to have wasted peoples time, but thanks once again.
    Lewis

  • How to set aspect ratio options for Image Dialog

    I have a requiment to create a new Aspect Ratio for image crop, besides the only default option of Free Crop
    I understand that there was some path where you could set this up in CRX, prior to 5.5, but that path doesn't exist in 5.5. The path was /libs/cq/packaging/components/pack/definition/dialog/items/tabs/item s/tab3/cropConfig
    I found this out from this forum question:http://forums.adobe.com/message/4575600#4575600
    Where in CQ5.5 Can I set these aspect ratios? I've queried the entire CRX for nodes of similar names as in this path, but cannot find it anywhere.
    Thanks guys!

    Hi,
    I have the same problem using CQ 5.6.1. I want to extend the default Ratios:
    I found out that this config is located under /libs/dam/gui/content/assets/crop/items/actionbarcontainer/items/default/items/aspectrati o/items.
    My question is were and how can I put an extension to these predefined ratios if I don't want to edit them under the libs node.
    Thanks, Andreas

  • Crash when setting aspect ratio

    Consistent and reproducible error when I try to enter custom aspect ratio for crop in the Develop module.
    I enter 297x210 (yes, I'm European and print to A4, A3 and such) and hit Enter or push the OK button.
    Program crashes. End of story.
    I'm at a PC ([email protected] and 12GB RAM, ASUS WS Professional MB) and run Windows 7 Ultimate. No instability. I do have CS5 design standard installed and Lightroom 3.6 as well (I have never understood why I should even consider using Bridge).
    Thank you for sorting that one out before it launches.
    Best regards,
    Espen Rosenquist

    Same for me: LR 4 beta crashes every time i try to set a custom crop ratio.
    Problemsignatur:
      Problemereignisname:          APPCRASH
      Anwendungsname:          lightroom.exe
      Anwendungsversion:          4.0.0.1
      Anwendungszeitstempel:          4ef2621d
      Fehlermodulname:          MSVCR100.dll
      Fehlermodulversion:          10.0.30319.415
      Fehlermodulzeitstempel:          4d26d15a
      Ausnahmecode:          40000015
      Ausnahmeoffset:          0000000000075fe9
      Betriebsystemversion:          6.1.7601.2.1.0.256.48
      Gebietsschema-ID:          1031
      Zusatzinformation 1:          8bf3
      Zusatzinformation 2:          8bf32499205634113b37b5acbc9d5028
      Zusatzinformation 3:          a858
      Zusatzinformation 4:          a858fb8addb946ef1a368c3b87874de1
    Best regards,
    Franz Mozzi

  • Recent upgrade removed my ability to set aspect ratio with LG TV remote

    With the upgrade a few days ago, I lost the ability to "Zoom" the aspect ratio on 4:3 programming so that it fills the screen, using the LG TV remote.  I don't want to stretch it; I want to zoom it, and I don't care that I lose the top and bottom of the picture.  I could do this before; how do I get it back?  I have the FIOS settings on 1080 HD, and have the "stretch" turned off.  I have an LG plasma.
    Solved!
    Go to Solution.

    Try using the # button on the FiOS TV remote instead.

  • FCP export to "QuickTime Movie" distorts aspect ratio of all text, displays video correctly.

    Hi you all,
    My name is Alexander, I'm from Belgium.
    I'm working on Final Cut Pro 6.0.6, on a MacBook Pro with a 2.53 GHz Intel Core 2 Duo Processor, running version 10.7.2 of Mac OS X (Lion).
    I'm editing a 'making of' of a Flemish feature film. I shot this 35 minute documentary short with my own Canon HDV-camcorder (XH-A1). The Final Cut Pro-project is stored on an external hard drive (1 TB LaCie Minimus).
    I've been doing exports to "QuickTime Movie" for years now, without any problems, but since a week or two, FCP started messing up the titles over the video - and the titles only. Their aspect ratio is messed up once exported, but they look just fine in the FCP Timeline (in Viewer, I can verify that the aspect ratio of the titles is always "0"). I'm trying to export this to "HDV - 720p25".
    Here's a comparison between the two:
    As you can see: the MOV has the titles' aspect ratio all weird, the upper one partly covering the lower one. All titles and text in the docu come out like this, but the video (and audio) is exported correctly.
    Any ideas on how to solve this very annoying problem?
    Many thanks!!
    Alexander

    Hi Studio X,
    Thank you for your quick reply.
    The producers of the film want to upload this making of-documentary on YouTube. Therefore, I need to give them a high-quality-mov with the least possible Megabites. My film has a 35 minute running time.
    So I figured: Let's start with the 'smallest' high-quality FCP-export to begin with (HDV-720p25), and throw that one in Compressor, in order to end up with a 'small' but good looking H.264-MOV for YouTube.
    But for some reason, those "HDV-720p25"-exports mess up the titles. And I can't figure out why.
    Alexander

  • Subclips inconsistent behavior; not always working correctly in Premiere Pro CC

    I load a clip into the Source panel.  I set in and out points and then CTRL + U to create a subclip.  I have "Restrict Trim to subclip boundaries" turned off.  (Thank you Adobe, I've been waiting for "soft" subclips forEVER!)  The new subclip appears in my Project panel with the correct name and duration (as well as a white audio icon to indicate that it has not yet been used in my project).  Now, I drag that subclip into my sequence.  But the entire clip (a 5 minute interview), from which the subclip was derived, is loaded onto the timeline.
    This has been working correctly for the last hour, and now it has stopped working.  It appears that for the moment, subclipping is dead to me. 
    Help?!

    Thanks for that, Mark.
    I've done a little more testing, and the problem seems to be related to merged clips where (for me) the audio is longer than the video.
    Here's a screenshot of some testing I did:
    Let me talk you through the project browser:
    - At the top there are the source video and audio
    - I then made bins for a trimmed sequence version and an untrimmed sequence (what I mean by trimmed is that the audio was chopped down to the same duration as the video, after syncing)
    - I did the syncing on both manually. For the untrimmed clip, the audio leads the video by 1:29:04.
    - I then made merges of both
    - I then made subclips of both
    Remarks:
    1) The trimmed versions seem to work fine, though I haven't done serious testing. At least the media start and end make sense.
    2) The untrimmed merge "Merge (untrimmed)" is showing a Media Start of 23:57:04:10, which is just wrong. First of all this is a 'negative' time number (C++ signed/unsigned int math coding error?), secondly, it doesn't seem to match anything because it is an offset of -2:55:14, when the video offset is +1:29:04.
    3) When I open "Untrimmed.Subclip001" (as shown in the Source window) it shows a start time of "23:57:04:10" (the very beginning of the "Merge (untrimmed)" clip) instead of "23:58:33:14" which is where I'd set the in point for the subclip (and is shown in the Media Start column). What plays back is, indeed, the very beginning of the untrimmed clip. This is also the case with "Untrimmed.Subclip002" which had an In point set at 6:00:00.
    4) The Subclip Start times shown are totally broken. I really have no idea where it is getting those numbers from. On the other hand, the End times seem to be ok (if you again ignore the fact that I have an end time of "23+ hours" on a clip that is 1 hour long.
    5) The Audio In and Out Points shown don't make any sense to me. They're all just a little bit off the other numbers that are shown.
    Lastly, the source video is AVCHD 1080p24 from a Panasonic GH2 and the audio is 48kHz 24-bit mono from a Zoom H4n
    I hope this helps with your diagnosis.
    Looking forward to your feedback.

  • Removing object from kodo datacache doesnt always work.

    Hi,
    We're using a very old version of kodo - 3.4.1 but it seems to work well.
    We seem to have come across an intermittent issue where if we remove an object from the datacache using the DataCache.commit call, then the object doesnt actually seem to get removed. So the application continues operation with the out of date cached object. We get no exception or error though.
    Has anyone see anything like this before? I can't seem to find any available known issues list or bug database for kodo, I guess this isnt available?
    Thanks,
    Dan

    The size will refer to individual DataCache size.
    KodoPersistenceManager.getDataStoreCache() or getDataStoreCache("myCache") will return the default or named datacaches respectively.
    You can evict the L2 cache content on the returned DataCache instance from the previous methods.

  • Quicktime doesnt always work

    some movies on my MacBook wont play properly. they either play with no sound or the video starts to skip. then a pop up box says that i should download some more componants for quicktime. it then sends me to a componant link screen but i dont know which ones to download?
    i have already downloaded Divx, On2 and Zygo video but they dont make any difference. im getting tired of this guessing game now. does anone know a codec that just makes Quicktime WORK?!
    cheers
    MacBook Intel Core Duo   Mac OS X (10.4.8)   Using Quicktime Pro

    There are dozens (maybe 30) different codecs that are used by QuickTime.
    Microsoft (the AVI files you're having trouble with) has about 100 different combinations.
    Use the Movie Info window of QT Player to view the codec used in the file. A Google search should help you find what you need.
    BTW, you've posted your Mac troubles in the Windows side of these QuickTime Discussions pages.

  • HT1476 Iphone wont recharge unless I hold the phone down and have it at a certain angle so the phone charger works...but it doesnt always work

    Iphone 5 wont recharge...the only way it works, sometimes, is if I hold the phone down while the recharger is in the phone, and the phone has to be at a certain angle for the charger to work....any ideas whats wrong?

    Do you want to know what's wrong, or do you want your phone fixed?
    Bring your phone and charger to Apple.  They're under warranty.  If either of the devices is malfunctioning, it will be relplaced.

  • Boot camp doesnt always work when switching OS's

    Hello all, well i've installed both SL and Windows 7 on my systems. I also have a diff macbook running SL and XP both are having the same problems. If reboot back into windows the systems starts up NP. If i switch to OSx the system starts NP now when i go from OSx to windows the systems gets all the way to the desktop then reboots only to have a black screen in which case you hold the power button down for 10 seconds reboot into safemode. Let the system start the shut down and it then boots fine info windows. This is happening on both my MacBooks has anyone else run into this before?

    Try posting this in the appropriate BootCamp forum.
    DALE

  • Pop ups don't always work correctly

    I am having problems with pop ups on some sites. I do not have pop ups blocked and I do have javascript enabled. I am using Firefox 6.0.2 on Windows XP 32-bit (I first noticed the problem with an older version of Firefox but upgrading didn't help).
    To see an example of the problem, visit one of the StackExchange sites eg Stackoverflow.com (you might need to create an account or log in with Open ID). If you click on a question you should see some options underneath the question text:
    link|edit|close|flag
    (You may not see edit or close if you are a new user as I think these require some "reputation" to be enabled).
    Clicking on "close" or "flag" is supposed to pop up a dialog asking for the close / flag reason to be selected from radio buttons. This works fine for me in Chrome or if I start Firefox in Safe Mode, but not if I start Firefox normally (even if I disable all plug ins and extensions manually).
    I asked about this on Meta Stack Overflow (my question is here: http://meta.stackoverflow.com/questions/106405/close-link-doesnt-work-for-me ) but they were unable to help beyond "it's probably one of your browser settings". I've looked through all the settings under Tools -> Options and can't see anything odd.
    I actually have a similar issue on an internal work web server which displays pop ups OK but they have no text in them. I can't point you at this as it's inside our firewall but I am hopeful that the resolution to the first issue will also resolve the second :-)

    I have now solved this issue.
    I had a "userContent.css" file in %APP_DATA%\Mozilla\Firefox\Profiles\y06a2da6.default\chrome\userContent.css
    which contained some pop up blocking code for iframes incorporating various strings such as "/ad", "/banner", "/splash" etc.
    It looks as though the "close" dialog on StackOverflow was somehow getting caught in this. I've removed the userContent.css file and it now all works fine.

Maybe you are looking for

  • Adding a PC to my Airport Express Network

    I set up an Airport Express after my brighthouse-supplied linksys wireless router died . I have three computers on the network: An old Dell Laptop running Windows '98 ; a Dell PC running Windows XP Home Edition. I cannot seem to figure out why the PC

  • Yosemite causes Mac Mini to send sound to wrong System Setting choice

    I have a Late 2012 Mac Mini that I run/upgrade with every OS that comes along. Until Yosemite, everything was fine. After upgrading to Yosemite, the system Sounds (like a boing when a file is copied or moved, or the flyaway sound when a mail gets sen

  • No "search for Duplicates" found in address book

    Hey, on my intel imac I've got no "search for duplicates" available to me in Address Book. It shows up in my macbook, and my lampstand powerbook. All three are running 10.4.10, Adressbook is Version 3.1.2 (321) Also, when I sync with .Mac it doubles

  • Spot from the hands on the housing of macbook pro

    Working behind the macbook pro laptop of 2012 of 13 inches, I found after a while traces from hands where they settle down for the press! It isn't erased by anything. such feeling as corroded paint! what ways of the solution of this problem are? ? ?

  • After effects films automatic build from php databank

    hello, do everyone have a idea to make many films automaticly from an folder with many article-pictures and a text from php databank?! for example, i have many hundreds article and article-pictures and i would have for youtube for everyone of the art