Air, supporting resolutions and multiple directions

Kind to be included in the development of Air stuff detection and automated screen resolution asset replacement

Symbol in the library

image.PNG-> imgage on the stage

[email protected]> replacement automatically placed when the upper display is detected

[email protected]> even biger resolution

for video clips and sprites:

mcName

mcName@2x

mcName@4x

in this way, do not logical intrincated to place several images with different resolutions.

Thank you

Your 3 basic options are always the same.

1.) (formerly Adobe) Apache Flex / MXML allows you to do something similar to SDK like Xcode where you anchor components containing your content. Therefore, you can say a component to be always on top left regardless of the resolution and orientation. Who can help keep your interface appearing a certain level of automation-compatible.

Scale 2.). The ugly duckling of the bunch but the easiest to perform. There are some trick under the hood than using the larger resolution images in the way that you describe could you benefit. The scale is basically you choose the exact size and the proportions of your project and then agree that part of the edges is cut off the coast. On HD it is almost always on top and below, 4:3 (iPad, iPhone 4 and less) is always right and left. The idea is to keep your content in the center of your application and then allow the application to scale itself large enough to fill the screen (all sides).

Using the scale, you will also need to detect the actual resolution of the device with either stage.fullScreenHeight / width or capacity screenResolutionX / Y. That will tell you which chart to use.

(3) manipulate everything yourself. That's how I always do. I detect the resolution of the screens and make a page layout that uses most of all pixels. To face yourself simply adjust your stage.scaleMode = StageScaleMode.NO_SCALE and stage.align = StageAlign.TOP_LEFT (or wherever you want raise pixels away from).

If you manage yourself, your assets will have a way to resize. There is nothing automatic about that though. Throughout the way your layout system (something that you code yourself) will be making choices on fixed assets to use and how to use them.

Work with the manifesto on Android or DPI capabilities to be sure you understand the size of the screen.

It's a little easier on iPhone, needing to detect between iPhone 4 (and earlier) and resolution of the iPhone 5 (or an iPhone6 much larger if they are unwilling to go out of business). Otherwise, you just switch between the iPad or iPhone.

Android is supposed to be more granular and allows you to specify the size of a manifesto that controls the store in order to limit the application to DPI or specified screen, however I find that it does not in fact. A Samsung Galaxy Tab 3 8 "is clearly a Tablet, but if I restrict the application to the screens of 7" (XL), due to its advantageous great DPI, you don't even see the app in the Tablet market. Only when I supported not only small ' widescreen ' but super small (phone) 'normal' screens made the app even pop up. Just a few things to think before you walk into the minefield of Android.

Here is more information on the manifest more ambiguous Android configurations:

http://developer.Android.com/guide/practices/screens_support.html

Tags: Adobe Animate

Similar Questions

  • Air HTML component and multiple web sessions

    Hello

    I would like to develop an AIR application able to run many Web sites in tabs, without components HTML AIR session of sharing with each other.

    For example, open a first user start the application http://forums.Adobe.com/ in a tab, then connect. A second user uses the same instance of the application, then open a second tab on http://forums.adobe.com/. First of all I want to him to not be connected. It connects in this new tab, without interaction with the web session opened by user 1 St.

    The example may seem quite useless, but in a store, seller of many likely to share the same workstation.

    Can you tell me component weather HTML can be configured to do not to share sessions between them, or not?

    Thanks in advance,

    Roman.

    Hi Roman,.

    The use case you describe can be done in a browser, the session is shared between all open tabs at the same time. And because AIR uses a slightly modified version of Webkit, this is valid in the AIR too.

    Kind regards

    Catalin

  • Apparently, I got a message to apple that there is a virus on my mac and re directly to a support site. Is this true?

    Apparently, I got a message to apple that there is a virus on my mac and re directly to a support site. Is this true?

    No, this message will be a scam. If all goes well, you don't call any number present.

    Phony 'technical support' / 'ransomware' popups and web pages

  • When you use multiple monitors, my main screen goes to a lower resolution, and I can't change it.

    When I use "extend" the screen on my laptop resolution remains: 1920 x 1080, and the external monitor uses resolution of 1280 x 1024.

    But if I use "duplicate", the two screens are set to 1280 x 720 (despite being different for each screen ratios) and the resolution box is grayed out.

    In addition, for some reason, my laptop screen becomes poster 1 & 2 with the external monitor being 3. There are only 2 screens physically, however.

    How can I get the correct behavior for two copies?

    I know my monitors are not the same report, but I already used this configuration in Windows 7 on my old laptop with no problems. On Windows 7, the external monitor Gets a black bar at the top and bottom to restrict it to my laptop screen 16:9 ratio.

    It's the screen resolution window when I use "duplicate".

    When I use "extend" the screen on my laptop resolution remains: 1920 x 1080, and the external monitor uses resolution of 1280 x 1024.

    But if I use "duplicate", the two screens are set to 1280 x 720 (despite being different for each screen ratios) and the resolution box is grayed out.

    In addition, for some reason, my laptop screen becomes poster 1 & 2 with the external monitor being 3. There are only 2 screens physically, however.

    How can I get the correct behavior for two copies?

    I know my monitors are not the same report, but I already used this configuration in Windows 7 on my old laptop with no problems. On Windows 7, the external monitor Gets a black bar at the top and bottom to restrict it to my laptop screen 16:9 ratio.

    It's the screen resolution window when I use "duplicate".

    Yes...

    'Duplicate' will do it.  It is not "Duplicate" "sorta show the same thing on both screens.  ;-)
     
    Without third-party applications duplicate screens have the same resolution and the maximum resolution is the maximum resolution of the screen that has the smallest maximum resolution.
     
    Now - if you can be able to use the video device software full to make this (nVidia, AMD/ATI, Intel) in their more advanced control panel - that would be your application third-party in this case.  It would be under the ADVANCED above settings * if * you have installed.  I can't say what gave you what video card you have and if you have installed the complete drivers and the software of the manufacturer of the device or not - but I suggest you to do this and see if their advanced settings might help you.

  • iPad Air keeps crashing and restarting

    Why my iPad Air keep crashing and restarting in Safari? I also think other applications. iOS 9.3.2 must be the culprit because it never happened so often. Any solution?

    Go to settings - Safari - clear the history and data from the Web site.

    If that doesn't work, reset your device. This will not erase your data stored on the phone.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

    If that doesn't work, restore your device to factory settings. Please note that this will delete the data on your device.

    Take a look this Apple Support article: use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support.

  • My macbook air running hot and the battery drains quickly can help you with this problem?

    My macbook air running hot and the battery drains fast is a 13 ", at the beginning of 2014.  Processor 1.4 GHz intel core 15Can you help with this problem?

    Apps can affect the performance of Mac, battery, temperature and fan activity - Apple Support

  • First timer, 6 year, iMac, 10.8.6 w/4 GB Dungeon get a browser not support Gmail and our Netflix account home page extended graphics. Do we need a type of update or new machine?

    First timer, 6 year, iMac, 10.8.6 w/4 GB Dungeon get a browser not support Gmail and our Netflix account home page extended graphics. Do we need a type of update or new machine? We are novice and probably most bought when receive this machine. Help or direction would be appreciated.

    Safari on OSx! 0.6.8 Snow Leopard is now not supported on many sites.  If your Mac can support it, you can update a newer operating system, which will have a new version of Safari.

    Go to the Apple Menu-> about this Mac and tell us what Mac model you have so we can give you options.

  • When I try to print a PDF file it does not print and goes directly to a backup of the file option.

    When I try to print a PDF file it does not print and goes directly to a backup of the file option

    original title: pdf print
    Hello

    1. don't you make changes on the computer before the show?
    2. don't get any error message?
    3. what version of the operating system is installed on the computer?
    4 is the issue limited exclusively with printing PDF files?
    5. where are you printing from PDF files?
    6. What is the brand and model of the printer?


    Method 1:
    Run the fix it and check.
    Diagnose and automatically fix problems printing and printer
    http://support.Microsoft.com/mats/printing_problems/

    Method 2:
    Perform the steps from the link and check.
    Printer in Windows problems
    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    Method 3:
    You can perform the steps from the link and check if you are able to print.
    Resolve PDF printing problems. Acrobat, Reader

    Reference link:
    Why can I not print?
  • on my desktop screen, icons are real blurry changed resolution and it wont let me get more than 60 hertz__

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: I tried to change the resolution and refresh rate, but which is not help and find a way back to the factory setting on the monitor or if it is a good idea. It won't let me go higher than 60 hertz says it's all my screen to refresh 19 inch flat screen made by dell please help out of options

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Was this work very well at a time earlier - I hope that recently?  Was your monitor there ever a better than 60 Hz resolution? Do you know when this problem started?  Try a system restore to a point in time BEFORE the problem started.  Here is the procedure: http://www.howtogeek.com/howto/windows-vista/using-windows-vista-system-restore/.  Don't forget to check the box to show more than 5 days of restore points.  If the first attempt fails, then try an earlier point or two.  NOTE: You will need to re - install any software and updates that you have installed between now and the restore point, but you can use Windows Update for updates.

    Go to the Dell Support and enter your Service tag number.  Who should put up your system, including your monitor (assuming that your system is Dell - otherwise just check the make and model of the monitor) and get the latest device drivers available for this monitor and your version of Vista.  Once you have the drivers, you can install them through the Device Manager (start / Control Panel / Device Manager) as follows: http://www.vistax64.com/tutorials/193584-device-manager-install-driver.html. or it may be a simple executable file - it depends what downloads.  Given that this is the view I'd do the same for your video card (that this either Dell or another manufacturer's).  Once you have installed these drivers, restart and go to Start / Control Panel / customization / display settings and see if you have more options for resolution and can get things the way you want them to be.

    I hope this helps.  If this isn't the case, post back with the results of the above options, and any other information you can give us on the devices and the problem. Let's see if we can come up with a few other options to try.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Using the windows agent for the staging of some support teams and monitoring Service

    Hello

    We Foglight and use agent windows for tracking service and for the moment all our alerts lead to direct e-mails to our redress system, which in turn, their analysis and create tickets.  what I need to be able to do is direct services (when down) different teams - is it possible with Foglight?  IE we have implemented an agent of windows on a server and run the rule of services monitored on this server - then it must be said if the service is low it goes to the windows supports guys and if the function b is low t goes to the application support team.

    all advice appreciated!

    See you soon

    Davie

    Sure, ok, so it's not hard anymore:

    Fatal level:

    • Set a variable of severity level, called host name, of expression of type, defined as restore the extent?. host?. name
    • define another variable level, called serviceName, gravity type expression, defined as restore the extent?. name
    • define an other severity level variable, called Prospect of expression of type, defined as:

    serviceName = scope.get ('name')

    Format = null

    switch (service_name) {

    case "Alert": Prospect = 'Documentum Team. "

    Break;

    case "SQL Browser": Prospect = 'DBA Team. "

    Break;

    case "RasAuto": Prospect = 'external team '.

    Break;

    default: Prospect = 'MS Server Team.

    }

    return of prospect

    • Finally, define another variable of severity level, called matiere2, of type message, defined as @hostName : Fatal: Service @serviceName is down (@teamName)
  • Half of my screen has low resolution and/or the contrast that the other half

    Greetings!

    The left side of the screen on my laptop seems normal with a high resolution and brightness, while the right side of the screen seems darker as it has a higher contrast and is more degraded it has a lower resolution... it looks almost like a demo of tv showing the difference between the high and low definition.

    Does anyone have an idea on how to get the screen of the same search on the screen?  The general change the appearance of the screen and return to an earlier date before that I messed up my computer did not work.
    Thanks in advance!

    See you soon!

    Could be a hardware failure on the laptop.

    One thing to try as a test is to start from a 'live' as Ubuntu OS (for example), just start it DO NOT install it. See - http://www.ubuntu.com/download/desktop/try-ubuntu-before-you-install - for more details. This should hopefully allow you to see if the screen works well or not in another OS, if it looks OK in Ubuntu, then its less likely to be a hardware problem. But if the screen is still divided, then unfortunately, it could be a hardware failure.

    Other things to try eventually (in no particular order):

    1. set to update your graphics card drivers to the latest compatible drivers available for your laptop, where they have been corrupted somehow.

    2 - is still divided into 'safe mode' or is it OK to whom?

    3. If you look in Device Manager, it shows errors regarding the graphics/display/monitor card?

    4. There is this fixit - http://support.microsoft.com/mats/Windows_Display_Quality_Diagnostics/ - in the center of MS fixit who can be worth it. But I doubt it.

    5. If this just started recently, try a restore point for just before it occurred.

    Assuming that you have already tried to change the screen resolution and depth etc color settings and then restore the default values, you need.

  • Building for all resolutions and the OS app

    Hi all

    a very strong issue for me: I want my application to support a lot of existing resolutions and operating systems, from 4.6 to 6.0. I know how to write this code, so my headache lies in another field - compatibility. Typical problems and pitfalls one may face? It's a way to write * secure * code that works both touch and non touch devices smoothly?

    Some APIs are available only in the newer versions, some are deprecated. For example, now I use "navigationClick" to manage both trackball and touch events, and it works fine. What other functions handle that you know will work for sure on touch and non touch devices?

    Yes, 4.6 and 4.7 + need to the different versions, not so much because of the new API, but because 4.7 devices set lower versions in a ugly compatibility mode.

    I have much experience with coding special touch features that I have them never required in my applications. I've implemented workaround found a colleague-based features:

    You can detect a touch device using canvas.

    public static final boolean IS_TOUCHDEVICE = new Canvas() {}
    protected void paint (Graphics graphics) {}
    }
    }. hasPointerEvents().

    based on this value I double the size of some input fields, so people with sausage instead of fingers can manage the

    As there are a lot of resolutions and new devices bring even more I would never consider to create a version by resolution, it would never end!
    a possible solution would be to create an additional library that contains only the graphics for a resolution, but it depends on your application if saved space would be worth for the extra complexity (and the cost of the added support).

  • Error when you try to play a DVD: Windows Media Player cannot play back the video DVD. You may need to adjust your Windows display settings. Open display settings in Control Panel, and then try to lower your screen resolution and color quality settings.

    Windows Media Player help

    I bought a netbook and have an external CD drive to dvd. When I want to play the video, I get this error.  I can't find a solution.  Any Advisor.  Error is... Windows Media Player cannot play back the video DVD. You may need to adjust your Windows display settings. Open display settings in Control Panel, and then try to lower your screen resolution and color quality settings.

    Hi Rains27,
     
    1. were you able to play the same DVD sooner?
    2. must arrive with a particular DVD or all of them?
    3. do you have a DVD decoder installed on your computer?
    4. you use starter edition of windows 7?
    5. What is the resolution on your computer?
    6. have you installed a codec on your computer?
    If you have installed a codec on your computer the I suggest you to uninstall the codec.
     
    Method 1:
    Try running Windows Media Player DVD Troubleshooter utility and check if this may help:
     
    Open the troubleshooting Windows Media Player DVD Troubleshooter by clicking the Start button, then Control Panel. In the search box, type troubleshooting, and then click
     
    Troubleshooting, click View all, and then click Windows Media Player DVD.
    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-DVD-Troubleshooter
     
    Method 2:


    Method 3:

    Try to reduce the hardware acceleration again and check if it makes a difference.
     
    a. open the screen resolution by clicking the Start button, Control Panel, and then, under appearance and personalization, click on adjust the screen resolution.
    b. click on advanced settings, troubleshoot tab and then click on change settings.
    c. move the hardware acceleration slider toward none to reduce or turn off video hardware acceleration.
    d. click OK and then click Restart now.

    For more information, see this link: thanks and regards:
    I. Suuresh Kumar - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Hi blackBerry smartphones. I'm trying to contact technical support on and order...

    Hello. I am trying to contact support on and to order, I made (removing personal information). I go into my blackberry PIN # (remove personal information), but he says that's not a valid PIN #. That makes no sense. in any case, I had to re - install this app (Aerize alerts), so I need the serial code sent again to me. Thank you!

    Hello!

    To reinstall your applications, please follow this section of the AppWorld user guide:

    http://NA.BlackBerry.com/eng/deliverables/7268/re-install_an_item_on_a_different_device_643962_11.js...

    For more information, registration keys, see this KB:

    http://www.BlackBerry.com/BTSC/KB18646

    If this does not work, then please come back on these forums (http://supportforums.blackberry.com/rim/) and create an account so that we can provide direct assistance.

    See you soon!

  • Media Player does not work; message says to check the resolution and brightness.

    My computer just upgraded day and now the media player does not work. I use it everyday and it is a first.
    It says to check the resolution and brightness, and when I did they are recommended places.   Help, please!  Thank you!

    Hello

    1. are you referring to Windows media player?

    2. What is the exact error message?

    3. when exactly you receive this message? By playing any video/audio?

    4 does happen with a particular video/audio?

    5. have you made changes on the computer before this problem?

    If you use Windows media player, you can follow the methods.

    Method 1:

    You can run the fix - it from the following link.

    Solve the problems of Windows Media Player video and other media or library

    http://support.Microsoft.com/mats/windows_media_player_diagnostic

    Method 2;

    Step 1:

    You can uninstall Windows media player. Check out the following link.

    Uninstall Windows Media Player
    a. go initially and in search type 'Turn Windows has or not'.
    b. click on "Turn Windows features on or off".
    c. find multimedia and uncheck Windows Media Player.
    d. restart the computer.

    Step 2 :

    Reinstall Windows Media Player
    a. go initially and in search type 'Turn Windows has or not'.
    b. click on "Turn Windows features on or off".
    c. find the multimedia functions and place a check mark in front of the Windows Media Player.
    d. restart the computer and check the issue.

    For more information, see the article:

    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-features-on-or-off

    Post back with the results for you help more.

Maybe you are looking for