Good way to active scale for multiple devices

I'm working on an ActionScript Mobile application that I intend to build for iphone 3gs, iPhone 4 and iPad 1 & 2.

What is the proper way to scale Active such as background images that I may be able to use the same graphic resources for all mobile devices above?

Using AIR 2.7 and in my app descriptor file I set renderMode ' cpu' and 'true' for the full screen. What I've read, the OUTDOOR 2.7 bug is present when using the gpu as the rendermode w / full screen, so I don't think that is what is happening.

I have a background image that is supposed to fill the entire screen for all devices. This image is in a swc file with these dimensions: 960 x 640

In my main class, I have included the following:

stage.scaleMode = StageScaleMode.NO_SCALE;
internship. Align = StageAlign.TOP_LEFT;

When I test on iPhone 4, it looks very good and fills the entire screen as expected. When I test it on iPad 1, the image is not wide enough and is too short. The following code should not force the background image to fill the screen regardless of the device?

backgroundImage.width = stage.stageWidth;
backgroundImage.height = stage.stageHeight;

Instead, it makes the really little background in the upper left corner for all devices. Can someone enlighten us here?  I'm puzzled.

I hope I do a stupid person and it is an easy solution... Thank you!

This is a known bug that stageWidth and stageHeight are correct get if you ask for them in the constructor. You need to listen for the Resize event. If I understand correctly, it is of an acceptable workaround. Please let us know if it breaks your application somehow.

Thank you
Samia

Tags: Adobe AIR

Similar Questions

  • Active Directory - join the domain for multiple devices

    Hi all

    I need your expertise to advice me how join domain for multiple devices.

    Currently my organization have more than 10,000 computers are made up of Windows XP, 7, 8 and 10.

    We will deploy new Active Directory server in the data center.

    Currently, we plan to go every computer/devices to perform a field joints. This method will take much time to complete the 10,000 devices.

    is there another method to do this?

    is there a method that all devices will join automatically field when it is connected to the corporate network.

    Thank you.

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • Is there a way to set reminders for multiple documents at the same time?

    Is there a way to set reminders for multiple documents at the same time? Now he must go through a list, manually click through a series of options, then select it. If I send more than 300 different documents to individuals at a time, it becomes tedious. Quick. A way to save me the trouble would be so so so appreciated.

    Hello Lindsayb123,

    We do have an option to set a generic reminder under choice of account in the accounts of the company and can be set by going to the tab account-> account settings-> send parameters and set reminders.

    Let me know if you need more information.

    -Usman

  • Download Support for multiple devices?

    I can download a theme for one device.  But when I try to download more files JAD/COD to cover more than peripheral, I always get a message that failed at the end once everything is done.  Can someone please give me the instructions step by step how add support for devices more (for an existing theme).  Please be as complete as possible, thank you

    Thus, for example, you want the theme for the 89xx, 96xx and 9700 5.0 would export you just once for the OS 5.0.. can make a separate export in a different folder for the 4.6/4.7 OS unless I am not quite understand what you're saying

  • a simplistic way to change Mac for multiple virtual machines

    Hi all

    I was wondering, what is your perfered method to change MAC to a large number of virtual machines? I just cloned on 8 virtual machines to another host and VEEAM duplicated the MAC as well. So I need to change MAC 3 for each virtual computer and I got 8 of them to do so.

    I wonder if there is a quick and easy way to do this and then enter the settings?

    Thank you

    Davy

    Good afternoon

    Following the line to change the mac address of a virtual machine, preferably if VMs are turned off.

    Get - VM test | Get-NetworkAdapter-name "card1 network | Game-NetworkAdpater - MacAddress 00:50:56:3F:FF:FF - confirm: $false

  • Equium A100 and WXP - missing drivers for multiple devices

    Hi all

    I have a satellite A100 - 02L and has recently had a virus which means re install the OS that is Vista 32 bit. I had problems with my product recovery disk and decided to install XP. Now XP is installed, but I can not lanuch the browser. Looked in Device Manager and there are question marks on the tab other devices which are:

    Ethernet controller
    Mass storaage controller
    Network controller
    PCI device
    SM Bus controller
    Video controller

    It has not installed.

    Can anyone help please.

    Please visit the page of download drivers Toshiba (see Top support sites) and choose your model of laptop (archive). Choose Windows XP Home Edition, and like the first, you will see instructions for Installation document. Download this document txt and install specific drivers and tools/utilities Toshiba following this order of installation.

    If you still need assistance please let us know.

  • Publication for multiple devices

    I just created six .fla (canvas) files in Adobe animate CC. Each step is 450px w h 150px. Each of them will be imported into a Dreamweaver (table) where a 150 extra pixels will be added to create a 600px x 150px banner: w.

    My question is:

    What are the export/save as / parameters that will create a file editable in Dreamweaver and at the same time, and once completed, be visible and easily consulted on many devices and platforms for publication?

    Thanks in advance.

    Jack

    Hi Jack,

    There are a lot more simple workflow of CC animate to Dreamweaver that connecting manual.

    See here: OAM Export files of CC animate to Dreamweaver and Adobe Muse | Adobe Dreamweaver tutorials CC

    -Mabrouk

  • Packaging for multiple devices

    I am building an application using WebWorks.

    The Playbook .bar file I generated seems to work in the playbook and BB10 Simulator.

    I also plan to make the availible to older versions of blackberry so soft.

    Must applications be packaged separately for Playbooks, BB10 and older BBs?

    You can use the SDK software Blackberry 10 package you the application blackberry 10.  It seems that there are 3 SDK at the minute.

  • Good way to export images for the web (in terms of colors)?

    It is possible has asked a thousand times, but I can't understand it. I tried to searc solutiuon for, but I'm still a Virgin.

    I have a portrait of a colleague, I need to put on our Web site, but when I export, png is over-red unlike what I see in Photoshop.

    What I've learned, the images on the web must be created with the color profile "sRGB". I have created a new photo in Photoshop with this profile and linked the portrait as a smartlayer. Everything seems perfect. Now, I chose "Export As... "and now, the image is extremely red .

    Do I did wrong?

    I use the latest version of Photoshop (2015.1.2).

    Thank you!

    Export on the profile feature bands, causing the image to display oversaturated.

    Use save for web, instead and do not forget to check convert to sRGB and embed the profile.

    And use the jpg for photos, png is intended for images of solid color and will also produce large format jpg files.

  • What is the best way to install photoshop on multiple devices?

    I am considering the classes of photoshop running for a small group of 10 people say, a month. Is it possible to install photoshop on ten machines for a single month, or what would be the best course of action in this scenario?

    You can call Adobe. They have only $10 a month for teaches and students face.  Maybe they have special offers for schools which do not have classes throughout the year.

  • Code 28: The driver for this device (\Device\NTPNP_PCI0017) are not installed.

    Original title: \Device\NTPNP_PCI0017

    What is the way:

    The drivers for this device are not installed. (Code 28)

    To reinstall the drivers for this device, click on reinstall.

    1. Name of the physical device object is: \Device\NTPNP_PCI0017
    2. Description of the device: SM Bus controller

    Thank you.

    Hello

    1. When you receive this error message?

    2 have you tried reinstalling the drivers?

    Error Code 28 is one of several error codes in Device Manager.

    Details such as Code 28 Device Manager error codes are available in the device status area in the properties for the device:

    The status of each hardware device recognized by Windows is available at any time in the Device Manager. This report contains the current state of such material as seen by Windows.  Check the status of the device should be the first line of conduct, if you suspect that a particular device that is causing a problem or if any device in the Device Manager is marked with a yellow exclamation point.

    Get help with Device Manager errors

    http://Windows.Microsoft.com/en-us/Windows-Vista/get-help-with-Device-Manager-errors

    Thank you

  • Download iOS 10 update once for installation on multiple devices via iTunes?

    I think remember me that it was possible and it was the best way. When I Googled it I am surprised to find there is no recent information on this (last year, although there are responses from 2012). I think this means 'no', but have not found the answer either.

    Then, download iOS updated once for installation on multiple devices via iTunes? As many people have multiple iOS devices that's probably a good idea.

    Almost certainly not.

    Each version of the product Apple has its own download.

  • best practices for the structure of the code control multiple devices in a sequence-step 2

    I have a question about code architecture and to get multiple devices controlled and synchronized for an experience. It is an 'architecture' - type application, so I hope for some suggestions on how to proceed.

    I run an experience in which I order 2 NI PCI-6733. I will soon add a Tektronix AFG 3022 B and have long been turned off the opportunity to rewrite my code labview from the ground upward. I inherited from a previous search, and although functional, I want to make it easier to modify and divide into sub - VI and these. Link to the current program (labview 8.6.1) is here if you do not want to see the code that is currently used and Subvi is in a zip file. The current version of experience consists of one stage, all writing the data for PCI cards is saved for the end. I need to change that in my configuration again well.

    The new experience consists of 2 steps. The first will take place (loop an array of output for PCI cards) until he heard a 'real' another computer (connected via TCP). When you do that, it should go to step 2 and run a sequence (usually 10 ^ 5 timeunits of length, where the unit of time is 0.1 ms) which refers to two PCI, the AFG 3022 B cards and with the flexibility to add more devices in the future.

    The most popular would be structural advice. How to organize the screw, if it's good to use a VI 'master' that would control the two sub - VI phase 1 and 2, etc...  Feel free to ask for more details if it helps clarify my question. Thank you!

    Such programs typically use a kind of State machine.  You will find many tutorials on LabVIEW state machines in these forums or forums of LAVA.  If you do a rewrite, I also recommend that consider you the LabVIEW classes.  They help modularize your code and do more reusable subparts.  You can end up with less to maintain, accordingly.

    You can also consider TestStand.  It was designed to perform sequences of tests, so can make your life easier.  It would be also exaggerated gross.

    Let us know if you encounter any problems with the machinery of State or classes.

  • I use lightroom on my laptop, and now I want to download on my desktop that I have multiple devices to the original purchase.  How can I download it for my office?

    I use lightroom on my laptop, and now I want to download on my desktop that I have multiple devices to the original purchase.  How can I download it for my office?

    You install programs exactly in the same way you did the 1st time... Put your disc in the drive, and enter your serial number when asked

    .

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a way to go to a page to download the Adobe programs if you do not have a disk or drive

    -you will need to enter your original serial number during the installation for non-Cloud programs

    -Cloud desktop http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html

    -Cloud Getting Started https://helpx.adobe.com/creative-cloud.html

    - or kglad links in response to #1 here can help https://forums.adobe.com/thread/2081216

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

  • I pressed "do not open pictures for this device" for when my iPhone connected. Now, I can't seem to find a way to import photos from that device because my phone is not displayed. Can anyone help?

    I pressed "do not open pictures for this device" for when my iPhone connected. Now, I can't seem to find a way to import photos from that device because my phone is not displayed. I now want to import photos from my iPhone, but nothing works. Can someone, please?

    MacBook Air, OS X El Capitan (10.11.1)

    Honestly, this entire thread is a repost of this , I pressed "do not open pictures for this device" for when my iPhone connected. Now, I can't seem to find a way to import photos from that device because my phone is not displayed. Can anyone help?

    Still no answer...

    Have you tried the following:

    • Launch Photos manually once you connect your iPhone to the Mac.
    • Enter the ⌥⌘S tomato (command-option-S) key combination the sidebar visible.
    • Click on the camera in the sidebar when it appears.

    Your iPhone shows in iTunes or in the Image Capture?

    If iPhone doesn't appear at all, make sure it is properly loaded and unlocked, disconnecting, take a new photo, then reconnect it.

    • Start iTunes and confirm that you agree with the mac, the prompt on the iPhone.
    • Try a different USB port.
    • Try to force reboot the iPhone.

Maybe you are looking for

  • For Satellite A300D-156 HARD drive caddy

    Help me please! I myself _Satellite A300D-156_ 320 GB HARD driveThere is a place for _one more HDD_ so I bought it, but I don't have _a caddy to fix inside the notebook_.Where can I get, or maybe it's possible to ask Toshiba to sell me or just send i

  • Universal Serial Bus (usb) controller - the missing driver problem

    Hi all.Name of the product and operating system: HP (Notebook) 15-r003sv - Windows 7 x 64Product no.: G7E53EA #AB7 This laptop has windows 8 and everything works fine, then I installed windows 7 x 64 and I have problem with the usb ports. they do not

  • I want to upgrade and replace ram

    Hey, it's ultra I wanted to upgrade my Ram cuz its just 4 GB at 800 Mhz System. My details for laptop: HP Pavilion 15 NoteBook pc 15-n210se Graphics card : Nvidia GT 740 m 2 GB Memory: 4096 MB PC3-12800 (800 MHz) Hyundai Electronics Processor: Intel

  • Fusion of data display objects

    HelloI have to present the results of two queries merged, invoices, and receipts that are in different tables on the database.I have a query that returns the invoices, and another that returns revenues based on the selected invoice.I created 2 object

  • Clear all alrmes 3 months.

    Hello is it possible to erase all the alarms of the last 3 months in one and not select page by page on Foglight 5.6.4? Thank you.