IPhone / iPad universal publish stage size

I've tried the iPhone & iPad publish setting to publish for both devices. My code is designed to detect the stage size and layout the content differently according to the dimensions. Whenever I use this publish setting though the app on both devices only acts as if the stage size is the one set in authoring. If I set it to 1024x768, that's how big it shows up on the iPod. If I set it to 480x320, that's how big it shows up on the iPad.
Am I missing something in my code? Even if I'm not changing the orientation, do I still need to listen to a resize event and THEN do my basic setup?

Hi, I think the stage size is a different property from the screen size?  The stage size stays the same no matter how it is scaled within the screen, so Stage.stageWidth etc will always give the same value.
Have a look at System.Capabilities.screenResolutionX / screenResolutionY instead.
Hope it helps,
Peter

Similar Messages

  • IPhone/iPad universal warranty in Peru

    If I buy an iPhone/iPad in USA, but I use it in Perú, can I claim for the waranty service at the peruvian iStores?

    The iPhone does NOT have an international warranty.

  • Captivate 6 HTML 5 won't publish on iPhone, iPad, and Android

    I am having a problem with captivate 6 HTML publishing  on iPhone, iPad, and Android.
    We are using an external vendor to host our content, using SCORM for tracking. Our courses have been working for LMS output and now we wanted to also publish them for HTML5 to work on mobile devices/iPads.
    When trying to view the output on both an iPhone with iOS 6 and an Android with 4.0.3, I get error messages about the course using flash, which of course the device does not support. I have published the course files in HTML 5 only and enabled e-learning output. The course also does not work on a local site (independent of the LMS).
    I'm not sure what I could be doing wrong in the publishing process. The only thing that I am able to tell is that I don't see an HTML5 file when I publish - only a regular html file. I have attached a screenshot of the directory I get after publishing.
    Any help is appreciated.

    When it launches on the iphone, it looks as if it is zoomed in to one region of the screen.  In other words, you can't see the entire course within the browser window on the screen. You have to pan to move to different areas of the screen.  We tried publishing with scalable HTML checked, but that had no effect on the size. 

  • IPhone & iPad text entry as universal app (need text to resize?)

    Hi.
    I'm building a universal app for the iPhone and iPad that has a login screen that needs to obviously use text input..
    This all works fine, I'm developing at the iPad size and letting it auto-scale to the iPhone size (I have made allowences for the extra screen size).. only downside is, on my iPad text is the correct size during entry, but when trying to type on my iPhone it remains at the iPads text setting - which is 40 when it needs to be about 14 to fit in the text box when on the iPhone screen.
    anyone tried to deal with this problem?

    Could you please, write here you application.xml file for the iPad (or universal iPhone/iPad ) application? I can't compile my application for wide iPad screen - it works as iPhone app (320x480).
    Thanks.

  • Stage size sees added sides when published.

    Hi,
    Flash CS5
    Action Script 3
    My stage size is 1684 width x 1322 height. When I test movie or publish I see the movie fill my monitor (1024 x 768) with white areas left and right beyond map border. Panning the map sees it visible beyond these side borders. Not as required.
    The top edge has no white margin as per design and thats ok. map panned upwards doesnt show beyond that border. The bottom border has beyond it a white fill rectangle on a layer over the map, and on top of this is a key. map pans under this and is not visible as required.
    Why is flash giving me space left and right ?
    This file will sit within a webpage and I want any panning of map to see no map show beyond the left and right borders.
    Envirographics

    Probably the equivalent is to listen to Event.ADDED_TO_STAGE

  • One Size Fits All? (Stage size for best display on iOS and Android)

    I'm beating my head against the wall trying to find the one proper stage size that will accommodate all iOS devices and all Android devices adequately.
    I've been following Colin Holgate's informative posts and am using the   stage.scaleMode = StageScaleMode.NO_BORDER;  approach.
    However, I'm not sure what I should be setting the dimensions of my stage to, as the suggestions I found of Colin's seem to be prior to the release of iPhone 5 and the iPad retina display.
    Can anyone recommend a stage size that would work best in trying to accommodate the wide variety of devices out there?
    Many thanks in advance!
    Mike

    Maybe I'm missing something here, but isn't this an easier way to place a button in the top right (assuming center point is in top left of button)?
    button.x = stage.stageWidth - button.width;
    button.y = 0;
    edit: I suppose that doesn't apply to show_all. I'm used to using
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    We've done this with banners at the top and bottom. If you design a banner for a specific aspect ratio, you can do something like
    banner.width = stage.stageWidth;
    banner.scaleY = banner.scaleX;
    This causes the banner to fill the width of the screen and change height proportionately. If you want to have more control over the elements in the banner, something like
    banner.background.width = stage.stageWidth;
    var newHeight:int = stage.stageHeight / 8;
    banner.background.height = stage.stageHeight / 8;
    banner.buttonBack.height = newHeight;
    banner.buttonBack.scaleX = banner.buttonBack.scaleY;
    banner.buttonBack.x = banner.buttonBack.y = 0;
    banner.title.height = newHeight / 2;
    banner.title.scaleX = banner.title.scaleY;
    banner.title.x = banner.buttonBack.x + banner.buttonBack.width * 1.2;
    banner.title.y = newHeight / 2;
    etc
    This might not be what you're looking for at all, but I find it works well for resizing.
    When asked to convert a fixed-size iPad app to one that dynamically resized for Android devices, we found it infeasible to completely recode the app in the time required, so we mixed dynamic resizing like above with throwing lots of objects into an empty MovieClip and scaling the MovieClip to fit the current stage size. This didn't hurt performance much, even when running graphics designed for the iPad's 2048*1536 retina display on much smaller screens.

  • Export for iPhone & iPad same time - Without resolution issues?

    Hello,
    I have developed an app for the iPhone and it runs perfectly fine on the iOS for iPhone. I am trying to port it to the iPad so I have done the proper stage adjustments and have set export as "iPhone & iPad"
    It opens up fine on my iPad, but the same app opens distorted on my iPhone (since the stage resolution isn't native, so it gets squished)
    How can I make my app iPhone/iPad friendly all in one IPA?
    Thanks.

    Use the same iphone version without any change on the stage and publish it for Iphone/Ipad with full screen parameter.

  • ITunes Diagnostic Doesn't Find Audio CD or iPhone/iPad - Help!

    I
    I’m having issues with iTune to recognize my iPhone and iPad.  My iPod nano (G5) is recognized.  I’ve run diagnostics with two failures (No Audio CD Found, and No iPod, iPhone, iPad connected).  A month ago everything was working.  What happened?  I’ve spend many hours following the instructions that’s on the web without success.  BTW – the music list that’s on my ‘test’ CD is displayed in iTunes and can be played.  It’s very strange that the diagnostic shows a CD/DVD issue.  I don’t have a virtual drive.  'Importing the CD' works cleanly - no problems.
    I am at a loss.  Any suggestions, phones numbers?
    Thanks, Pat
    Below is the diagnostic report
    Microsoft Windows Vista Home Premium Edition Service Pack 2 (Build 6002)
    HP-Pavilion RP826AV-ABA a1750e
    iTunes 10.3.1.55
    QuickTime 7.6.9
    FairPlay 1.11.17
    Apple Application Support 1.5.2
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 3.4.1.2
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 2.0.5.0 (214.3)
    Gracenote SDK 1.8.2.457
    Gracenote MusicID 1.8.2.89
    Gracenote Submit 1.8.2.123
    Gracenote DSP 1.8.2.34
    iTunes Serial Number 0014B5E0092A3C90
    Current user is not an administrator.
    The current local date and time is 2011-07-17 16:22:10.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    NVIDIA , NVIDIA GeForce 7500 LE
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: 72dfc61552d02f347bc3653b3c001aea
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:      {3D6285FF-7CD0-4784-99E2-8F34C6839F81}
    Description:          NVIDIA nForce 10/100/1000 Mbps Ethernet
    IP Address:           192.168.0.105
    Subnet Mask:        255.255.255.0
    Default Gateway:  192.168.0.1
    DHCP Enabled:    Yes
    DHCP Server:       192.168.0.1
    Lease Obtained:   Sun Jul 17 15:28:25 2011
    Lease Expires:     Sun Jul 24 15:28:25 2011
    DNS Servers:       192.168.0.1
    Active Connection:               LAN Connection
    Connected:           Yes
    Online:                  Yes
    Using Modem:      No
    Using LAN:           Yes
    Using Proxy:         No
    SSL 3.0 Support:   Enabled
    TLS 1.0 Support:   Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was successful.
    Connection attempt to firmware update server was successful.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2011-07-17 16:18:57.
    **** CD/DVD Drive Tests ****
    LowerFilters: PxHelp20 (2.0.0.0),
    UpperFilters: GEARAspiWDM (2.2.0.1),
    Failed while scanning for CD / DVD drives, error 2510.
    Virtual drives can sometimes interfere with reading and writing CDs in iTunes. If this is a virtual drive and you are having problems with other drives, try uninstalling the virtual CD application.
    E: Unsupported CD or DVD drive.
    Virtual drives can sometimes interfere with reading and writing CDs in iTunes. If this is a virtual drive and you are having problems with other drives, try uninstalling the virtual CD application.
    **** Device Connectivity Tests ****
    iPodService 10.3.1.55 is currently running.
    iTunesHelper 10.3.1.55 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Standard OpenHCD USB Host Controller.  Device is working properly.
    Standard Enhanced PCI to USB Host Controller.  Device is working properly.
    FireWire (IEEE 1394) Host Controllers:
    AGERE OHCI Compliant IEEE 1394 Host Controller.  Device is working properly.
    Most Recent Devices Not Currently Connected:
    iPod nano (5th Generation) running firmware version 1.0.2
    Serial Number:     YM015EPQ71V
    iPhone 4 running firmware version 4.3.3
    Serial Number:     61120JJWA4S
    iPad running firmware version 4.3.3
    Serial Number:     DLXFPEWMDFHW
    **** Device Sync Tests ****
    No iPod, iPhone, or iPad found.

    After trials and tribulation I found the fix to the iPhone issue.   I removed the USB connect to my external drive (buffalo backup).  After booting up, iTunes recognized my iPhone and iPad.  Major issue resolved.  iTunes diagnostic still doesn't find the Audio CD/DVD, but seems to function correctly.  I will following other discussion topic "Error 2510 regarding CD/DVD drives"
    - Pat

  • H.264 on SAFARI(iPhone/iPad)

    Hello guys.
    I am a university student and I am doing a project regard of getting live stream from IP camera via vlc player and send it to a particular browser (iphone/ipad) using HTML5 video player (Projekktor and VideoJS). Basically I receive RTSP live streaming from IP camera and re-streaming it in the FLV container via VLC player. After that I send it to the browsers using HTML5 video player. FLV works on all browsers such as IE, Chrome... However, it does not work on safari browser (iphone/ipad). I think it is because Apple does not support flash. So is there any ways that h.264 streaming works on safari browser?
    I will be so appreciated if anyone replys with solution. Thank you so much.

    On both your iPhone and iPad tap Settings > iCloud.
    Switch Bookmarks off then back on.
    On your Mac, open System Preferences > iCloud
    Deselect Safari then reselect it.
    Give iCloud a minute or two to sync ...

  • Set stage size?

    Is there a way to have the stage size change during this one
    section that is vertically longer? I'd prefer not to have the html
    scrollbar through the whole site, but I need overflow to show for
    this one page of the Flash website (website is one long timeline
    with labeled frames for each of the pages)
    Thanks to all the smarties!

    in a manner of speaking you are correct jp - you *can* use
    the onResize event of the Stage class to adjust the size of the
    stage to the browser window or table, you *can* also 'scale' the
    content of the stage through publishing and code, on-the-fly
    durring runtime in a similar manner. however that is not what the
    halo's problem relates to, he wants to change the stage only during
    one portion of the site navigation, so unless the entire site was
    built dynamically, and any other page content was present, it would
    be problematic to scale the contents 'all' to the height of the MC
    in question. a better solution for the issue as he describes it is
    to use a scrollpane window, as i'd mentioned.

  • Need to embed (not attach) graphics into an iOs 7 iphone/iPad

    I need to embed several graphs and charts in .png format into an e-mail to be read on an iOs 7 iphone/iPad.  If I embed more than six, they all show up as download links, which is not acceptable.  Is the limit based upon number of images, or total size of all images embedded? 
    If anyone has any ideas, I would greatly appreciate reading them.
    Thanks!

    Safari on the iphone does not provide user simple tabs. Tilt screens hitting several buttons on a small surface with adult fingers don't match. The ease of gliding back and forth is a balancing act.
    You can swipe left to close open tabs instead of using the tiny "x"
    Perhaps the only design / function improvement is the choice of font style and size. However, the change of font is limited to communication functions and does not improve web reading.
    For web reading you can use "Reader" in Safari. To the left of the address bar  will be an icon that looks like lines on a page. Tap that to open the page in reader mode.

  • IPhone/iPad detection

    I was looking for suggestions on what to use for iPhone/iPad/mobil device detection for a site. My client asked to build an alternative html5 site to their current Flash site that gets hit if people are on an iPhone or iPad. Any suggestions? Someone I talked to previously suggested wurfl. Any comments on this would be greatly appreciated too!
    Thanks a lot!

    iPad/iPhones use Safari web browser so your typical mobile site might not be what they need or want to see.
    IMO a better solution would be ditch the Flash site and rebuild it in HTML.  Smart Phones can see HTML sites just fine.
    http://webdesign.about.com/od/mobile/a/detect-mobile-devices.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Stage size versus imported file size

    I am new to the flash universe ... I am running Flash CS3 Pro on a Mac OSX 10.5.8
    Why is the stage size larger or file size always smaller when I import a file into Flash.
    I create a new project (Action Script 3.0), change the Stage size to 125 px x 162 px. Then import jpg images at that same pixel size, but they never fill the entire stage.
    Any help would be great, thanks.
    Greg
    SOCS MAG

    When you alter (reduce) an image's size in Flash it can display the wavy lines.  What you might try to overcome that is to right click the image in the library, select Properties, and in the image properties panel select the option to allow smoothing.
    As far as what is going on with Phtoshop not creating the images to the dimensions you specify, you may need to check the manual.  I have never had a problem, though I never really used Photoshop much.  Try using Fireworks if you have it and see how it fairs.

  • JavaFX roadmap ... emerging platforms ... (iPhone/iPad, Android ...)

    Hi,
    This url talks about the roadmap.
    http://javafx.com/roadmap/
    It seems to be upto 2014.
    Request the JavaFX Product Managers to develop and state their plans for the emerging platforms. (iPhone/iPad, Android, Blackberry OS ? )
    Cheers ...
    /rk

    See http://fxexperience.com/2012/01/2012-javafx-resolutions/ for an unofficial top 10 goals for this year.
    Note resolution #5 (embedded):
    "As announced at JavaOne 2011, the new embedded platforms coming from Oracle (CDC) will be using JavaFX as the UI technology. That is slated for final release in 2013 along with Java 8 and JavaFX 3. However, there is a lot of work that has to be done this year to make this a reality, including adding touch event support to the platform. Having working embedded prototypes for this year is high on the list of goals for JavaFX!"
    I could be wrong here, but I believe the Android prototype shown at JavaOne was based on very early CDC prototype and the potential strategy for iOS support would include bundling an iOS port of the CDC with apps. My guess is that the JavaFX team is working on Android/iOS support (and additional ARM/Intel platforms) but is not at liberty to discuss this work and roadmap in detail at this stage (but that is just my guess - I don't know).
    Also, as resolution #1 (open source) progresses, future plans will become naturally more transparent.
    The goal is to complete the open source process this year.

  • ITunes photo-sync results in corrupted album-pictures on iPhone/ iPad

    Hey guys,
    after restoring all my iDevices to iOS 7 last fall I've encountered the following problem: when syncing photo-albums from iPhoto to my iPhone/ iPad using iTunes, certain pictures of  an album (or even all of them) end up showing as grey squares with a "JPG"  sign in the middle:
    I was hoping  the problem would be gone after installing iOS 7.1, which is why I waited this long before starting a discussion here, but unfortunately it didn't. So here I am, asking you guys for help. Any ideas?
    Best regards,
    Waske
    FYI: I'm running OSX Mavericks 10.9.2 with all apps up to date.  All iDevices in question were restored using iTunes 11.1.5 and configured as "new" (no iCloud/ iTunes backup was loaded afterwards)

    Are you able to view the photos in that album in iPhoto at full size? 
    OT

Maybe you are looking for

  • Folder organization and track numbers

    Some background: I'm importing recorded lp's into itunes using File/'add folder to library'. Because this is not digital import like from a cd, I need to edit most information manually. Once I've got the group of songs into itunes, I highlight them a

  • How can we handle graphics in DITA source files in order to display them correctly both in PDF and H

    We are using FM9 to publish PDF and HTML output from DITA source files and we cannot find a way to display images correctly. By adjusting the appropriate DPI, the image gets correctly displayed in HTML but not in PDF where it appears cropped accordin

  • Satellite L650-1MM - Video display issue

    Greetings from Finland. So, about a month ago I bought this laptop of mine, Satellite L650-1MM, and I've been wondering what the heck is the problem with video display. Dunno for sure is it a problem with the hardware or just something with the compu

  • How to construct the constant pool?

    Greetings, I seems to have a little bit of a problem. I have a text file, generated by the javap -c <class_name> command, i.e.: javap -c myClass > myClass.txt This myClass.txt is the input I've got. I do not have the myClass.class, from which it was

  • Need help Using Time Capsule As Media Server

    New time capsule owner was wondering if someone could help me set it where i can put all my digital media, Itunes, Dvd-rips on to the TC and use it as a Media Server. Thanks for your help fellas