App scaling to screensizes on Android but not on iOS

Hi,
I am creating an app with AS3 for Android and also for iOS.
Due to the different smartphone sizes it is necessary to scale the apps to the appropriate screens. Developing for Android that seems to work OK.
The code I use for this on Android however does not work on iOS.
On iOS it seems that I can only scale the app to the width of the screen. The height of the app then scales proportionally to the width of the app. The rest of the length of the app is now outside the screen boundaries.
How can I scale to the app also to the different iOS screens?
Any help is greatly appreciated.
Code:
stop();
import flash.display.Stage;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
//Works on Android not on iOS:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
//Works on iOS however part height of app may be outside screen boundaries
stage.scaleMode = StageScaleMode.NO_BORDER;
//rest of code like this:
header_mc.x = stage.stageWidth / 2;
header_mc.y = 0;
header_mc.width = stage.stageWidth;
header_mc.height = stage.stageWidth / 4;
//etc.....

Go to this site:
https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/

Similar Messages

  • My iphone apps shows price in indian rupees but not in dollars. My selected region and address is USA? How can i change it to dollar again

    my iphone apps shows price in indian rupees but not in dollars. My selected region and address is USA? How can i change it to dollar again

    my iphone apps shows price in indian rupees but not in dollars. My selected region and address is USA? How can i change it to dollar again

  • How can I share my music and some apps with my children's devices, but not share iMessage

    How can I share my music and some apps with my children's devices, but not share iMessage

    Then only set up your account in "Settings > iTunes & App Stores" and don't give them your password .

  • HT4009 I made an in app purchase, was charged for it, but not not receive item. How do I get a refund?

    I made an in app purchase, was charged for it, but not not receive item. How do I get a refund?

    How to Get a Refund from the App Store

  • I have a "company provided Ipad" now using IOS 6.1.3.  the company Will allow me to upgrade to IOS 7 but not to IOS 8.  Is that possible?

    I have a "company provided Ipad" now using IOS 6.1.3.  the company Will allow me to upgrade to IOS 7 but not to IOS 8.  Is that possible?

    No, since the iPad 2 is iOS 8 compatible it can only be updated to iOS 8.  Apple does not support upgrading to interim iOS versions, and removes those files from the servers when a new version is released.  The only path for that iPad 2 is iOS 8.0.2.

  • Why does icloud notes go from pc to ios but not from ios to pc?

    Why does icloud notes go from pc to ios but not from ios to pc?

    Yes, and the music trasferred, I can see it in the folder, but it's not displayed in iTunes.

  • Scaling mobile app works fine on the X but not on the Y

    I originally made my app to work for iphone only but I am now scaling it to work on Ipad/ Android etc. I am doing all the scaling manually. It is a tabbed application.
    I am scaling all x and y locations and widths and heights by a scale factor that is created using..
              scaleFactorX = stage.width/320;
         scaleFactorY = stage.height/480;
    It works perfectly on the x but not quite enough on the y as objects look a little squashed vertically.
    I can't think why this is. If I were to alter the y scalefactor it would put things out when at the original phone size.
    The only part I'm not scaling manually is the actionBar and the bottom tabs. They are currently using default skins which use the DPI classification to determined size. I have however overridden this and set the action bar to use a skin with a much greater layoutContentGroupHeight. This hasn't however had any effect on the y scaling of objects in the main display area.
    The y scale isn't out by much, but it bothers me. If anyone has any suggestions I'd appreciate it.
    Thanks.

    Adobe won't fix it as long there are not enough votes for my bug report!!!!
    PLEASE VOTE: https://bugbase.adobe.com/index.cfm?event=bug&id=3376478

  • Android App - works fine in Device Central but not in phone

    Greetings!
    Just looking for some general "you might try this" tips.  I've built a very basic game app for Android so I can start learning not only how to develop for Android, but also how to publish and distribute Android apps to users.
    My game works fine when I test in Device Central from Flash.  And I've been able to upload my app to the Android Market. But when I install and run on my Android phone (I've actually tested on two separate devices), I just get a light yellow screen with a series of tiny dots that move across the screen, almost like a loading indicator, but nothing happens after that.
    I've tried publishing as both an Air (Air 2) file and a Flash (Flash 10) file.  In device central, I tested the app on a Droid Incredible emulation.  The devices I've tested on are an HTC Inspire (AT&T) and an HTC Thunderbolt (Verizon).
    So, I know there's no way for someone to take my limited description above and say "this is your problem".  Again, I'm just hoping for some general tips along the lines of "try publishing in a different version of Flash".
    Any suggestions for where I should start digging? 
    Thanks in advance!
    Joel

    Sign out of the store on your phone, then sign back in. Note having content from more than one country's store may complicate the process of updating apps and downloading past purchases.
    tt2

  • Medical app from Intuit works in IE, but not Firefox.

    Encrypted medical app works in new IE, but not Firefox. Everything works down to the end, and click on "continue" and nothing happens. A tech and I have spent hours on this. Did not work on FF5 or 6. Did not work on old IE, but did on fresh new version with no data files copied in.

    If it works in IE but not FF, then it has nothing to do with the mp3s. More likely it's because of the HTML on the page.
    To start, page is missing DOCTYPE declaration... a MAJOR problem. The DOCTYPE declares which set of rules the browser will use to display the page. Without it, different browsers go crazy or do not work at all.
    http://www.w3schools.com/tags/tag_DOCTYPE.asp
    Validate the html code here:
    http://validator.w3.org/
    You will have to fix all the errors if you want this to work in all browsers.
    Best wishes,
    Adninjastrator

  • Built app with subpanels works for me, but not for him

    Using labview 8.6 I have successfully built several revisions of an app that has multiple subpanels.  It has successfully executed on several different hosts.   However, with the most recent version I received a report that it launches, but the sub-panels do not load.  Of course, WFM (works for me) -- the sub-panels are compiled into the app and they load just fine for me.  The other user is using the free 8.6 LabView runtime.  Again, previous app revisions have worked fine, and I don't know what is different about this build that could affect loading of the subpanels.
    On my PC I renamed the path to the source files just in case the built app was picking up some missing file directly from the original VI directory.  Still works for me.  I even monitored it with FileMon (sysinternals.com) and confirmed that it never tried to open any other file (which further confirms that all the sub-panels are successfully incorporated into the built application).
    The only other significant difference is that the app is designed for 1280x1024 screen and the other user is running on a 1024x768 laptop.  But how could that affect loading the sub-VIs?
    Does anyone have any idea what would cause a built application with subpanels to work fine on one host but not display the sub-panels on another host?
    Thanks and Best Regards,
    J.

    How are you getting the software on the other computer? Did you build an installer?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Apps on some of our devices but not others

    Specifically, we have several Apple devices in our house: My son has a Ipad2 and an old ipod touch(which he never uses ipod since it can not be updated), My Wife has an Ipad2 also(just has more gigs on it), and I have an old ipod that can't be updated, that I now use for my alarm, and a newer one I think its a 5 since it has Siri, but no rear camera.   Anyway I had bought "Stickwars" some time back, and it is on my old ipod, and my son's ipad, but after the update is Not on my new ipod. even tried connecting my old ipod up to computer, and it shows it being on the ipod, but not the computer. How can I get this app on to itunes on my computer? I looked under purchased apps and it doesn't show.. ty for any help

    the one I am trying to get it one IS a 5. I managed to get it form connecting to our really old computer, now I have a different problem. this computer is the one I mainly use, and just bought some apps and music that I put on the 5th gen one, however now it tells me that this computer isn't auth. for this ipod.(and I letterally just bought this other stuff on it and transferred to this ipod about a week ago) isn't Auth.      I even tried removing auth . then giving it again, but no help

  • Why do some Apps(programs) appear in my dock, but not in my launch pad?

    I recently downloaded Open Office and Adobe Photo Shop 12 .  Photo shop appears in both my dock and launch pad.  However Appace Open Office just appears in my dock, but not my launch pad, and also the open office little disk or cd reader icon (white 3d rectangle with image of black slot in front) appears on the right side of my screen.  I can't eject it because I get a popup that says it is being used by "Open Office" and I have to quit the application to eject it.  My question is if I quit the application using "Command" Q and then eject "Open Office" will I loose open office and have to downlad it again?
    I think I answere my question.
    I clicked on the Open Office Icon in my dock, had it go to "Finder" then ejected the "Open Office" disck reader icon and it went away from my screen.
    I then went to "Finder" and opened it up and Lo and Behold "Open Office" disappeared from there too. Boy that sure is crappy.
    So I downloaded it again. 
    Is there anyway to clean up the desktop so I don't have those silly images hanging around?

    There have always, well for the past few years, written installers that just create a mess.  All installed applications should appear in Finder, Applications.  Not all of those will appear in Launchpad.  When you encounter one that does not appear in the correct way, all you can do is manually move things around so it is consistent with the way apps should work.

  • HT204266 apps are showing in my iTunes but not showing on my ipod

    Hi
    I have just bought a new iPod and all the apps are showing when I downloaded from the cloud but are not functioning at all. They are showing on my itunes screen on the right hand side but not in the tick section on the left hand side where you select the aps you want to use.
    Steve

    How did you set up your iPod? It sounds like you set it up via wifi. In that case you can't sync apps from a computer.
    Or are Restrictions set that prevent installing apps: Settings>General>Restrictions.

  • Script to find if list of Apps patches exists in DB 'A' but not in DB 'B'

    Hi All,
    DB:11.1.0.7
    Oracle Apps:12.1.1
    OS:Linux 86x64 bits Red Hat
    Could anyone please share the script to find if list of patches exists in DB 'A' but not in DB 'B'
    Thanks for your time
    Regards,

    We have already answered you, not sure why you keep asking the same question!
    SELECT bug_number,creation_date from ad_bugs where bug_number in
    ('1234','5678','56783','4321','765432');
    I get the list of patches out of the above say - '1234','5678'
    Now how to get the list of patches out of the above list of 5 patches which are not in the DB 'A' .I know this could be done manually but this is just an example as there may be hundreds of patches like this in ad_bugs to extract and we cannot manually do it in excel or any other way bit through a queryRun the same query in Database B and compare it with the output of Database A. Or, simply create a database link for Database B from Database A and run this query from DB A:
    SQL> SELECT bug_number, creation_date
    from ad_bugs
    where bug_number in ('1234','5678','56783','4321','765432')
    minus
    SELECT bug_number, creation_date
    from ad_bugs@<DBlink to DB B>
    where bug_number in ('1234','5678','56783','4321','765432');Thanks,
    Hussein

  • HT4972 my (4s) just updated and now it connect maintain connection to my wifi, and all apps that I downloaded are not on my screen. If i search them in the App Store I can open them, but not keep them on my screen.

    i just updated my iPhone to the new operating system.  It will not maintain connection to MY wifi.  In addition, the applications that I had installed are no longer on the screens. I can only access them via the app store... and there I can "open" them,

    Tried that as well. The problem isn't that the apps aren't downloading, it's that the app icon is stuck on Waiting. I can actually open and use the apps from the App Store, but not from the home screen.
    I'm adding photos to try help explain, though I'm not they'll show up well on since I'm on mobile.
    THats the the home screen with useless icons
    BUt if I search the App Store for one (like Buzzfeed)
    IT it shows it being installed, and I can even open the app an use it. I would try to reinstall but I cant remove the apps.

Maybe you are looking for

  • How to add additional fields to zreport which contains standard report code

    Hi Experts, In order to add additional fields to standard report i copied the code into zreport but i am unable to  add additonal field into report because the code is looking so complex. standard report:AQZZ/SAPQUERY/FKF1============      or sapmenu

  • Photo in email as an attachment

    How do you add photos as an attached file, not where the photo shows up INSIDE the email? Purpose so receiver can print the photos that were sent by email.

  • COPA report change Header text

    Hi, I am preparing COPA line item report. I am not able to change or add header text in the report as we  do in report painter report. The form I am  using is KE94 Create and KE95 Chage.The report painter option extras-> Report Text -> header text is

  • Why do I need a credit card for family sharing?

    i would like like to setup family sharing. I have an iPhone my 7year old has just got an iPad, I would like keep tabs on what he try's to download etc but in the process it says I need a credit card on file. I already have a debit card registered And

  • Closing stateful web service connections

    Hi All, I've created a staeful web service(in ABAP) and we are doing load tests for 50-100 concurrent users on this webservice. After some time we are getting invalid response time exceptions while calling the web service. In transaction SM04 , we ob