IOS app using AS3 not fitting screen dimensions

I'm building an iOS app using as3 and air to package the app onto my iPhone 6. My issue is that I get a black bar above and below the app, the app itself is not going fullscreen. The stage screen is set to the iPhone 6 screen dimensions.
I have tried by adding the following launch images into the app folder; [email protected], [email protected], and [email protected] But it's not being displayed properly.
Does anyone have any fixes for this?

Hi ericmathew
iPhone 6 & iPhone6+ require different Launch Images than older phones:
For Example,
For iPhone 6 : Default-375w-667h@2x~iphone.png
And iPhone6+ : Default-414w-736h@3x~iphone.png
For more details regarding this, check out below article :
http://blogs.adobe.com/airodynamics/2015/03/09/launch-images-on-ios-with-adobe-air/
-Tushar,
Adobe AIR Team

Similar Messages

  • Launch an ios app using hyperlink in the mail

    Hi,
    I want to launch an ios app using a hyperlink in the mail and sms. I tried but not able to launch because while tapping on link it target to safari to launch that link not to the os.
    example :- There is an app installed in the device with the scheme name "abc".
    So the hyperlink for the app would be  abc://
    While I am sending this url in the mail ans open the mail then it's not able to launch the app.
    Thanks

    Are you sure the Info.plist of the abc app is correct?
    http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneos programmingguide/AdvancedAppTricks/AdvancedAppTricks.html#//apple_ref/doc/uid/TP 40007072-CH7-SW18

  • Anyone profiled iOS app using FlashBuilder?

    We're making an iOS app using Flash Professional. I also use Flash builder for my editing. 
    the application also unfortunately uses AIR-specific features, such as SQLite database and NativeApplication references.
    I've had luck before using the profiler by just profiling as a web application (which is what gets created when I do "create new Flash Professional Project..." in FlashBuilder.
    But I am stuck on how to get FlashBuilder profiler working on this project because it always wants to launch the thing in a web browser, which can't function due to the AIR-only features.
    Anyone ever gotten this combination to work?  I *so* wish I could just start from an MXML wrapper and load my FLA as a swf, but silly iOS restrictions force me to have just one SWF with all my code in it.
    thanks!

    Hi ericmathew
    iPhone 6 & iPhone6+ require different Launch Images than older phones:
    For Example,
    For iPhone 6 : Default-375w-667h@2x~iphone.png
    And iPhone6+ : Default-414w-736h@3x~iphone.png
    For more details regarding this, check out below article :
    http://blogs.adobe.com/airodynamics/2015/03/09/launch-images-on-ios-with-adobe-air/
    -Tushar,
    Adobe AIR Team

  • Why is it that with iOS 7, pictures do not fit the screen?

    When I try to set pictures as the background on my iPhone 5, they do not scale to the screen. Although a little problem that I have tried to ignore, it's become very annoying. It only started doing this after I updated to iOS 7 and had carried on through the updates. Help!!

    Hi bkraeutle14,
    Thanks for visiting Apple Support Communities.
    If pictures you set as wallpaper are not scaling correctly, for example they appear too "zoomed in," you can reduce screen motion to minimize this behavior:
    iOS 7: How to reduce screen motion
    http://support.apple.com/kb/HT5595
    iOS 7 uses a parallax effect to create the perception of depth on your Home screen and elsewhere.
    To reduce the effect, you can turn on Reduce Motion in Settings > General > Accessibility. When you turn on Reduce Motion, Home screen transitions will fade instead of zoom.
    When the parallax effect is on, you may notice the following:
    Wallpaper, icons, and alerts shift slightly as you move your phone.
    When you set a wallpaper in Settings > Wallpapers & Brightness, the photo or image will be slightly zoomed and can't be scaled to fit the screen.
    If you zoom in, you will need to rescale your wallpaper to fit to the screen. You can't rescale certain photo formats, including landscape or square images.
    To learn more about iOS 7, refer to the user manual.
    All the best,
    Jeremy

  • Unable To Build iOS App Using Native Extension

    I’m trying to create a native extension for iOS and use that extension as part of an IPA app for iOS I create from a SWF file using the ADT tool (i.e. the normal use-case for iOS). Note: I have already successfully created the native extension and APK app for Android and now I am trying to build the iOS side.
    I have been primarily using the information found at the following websites:
    http://www.adobe.com/devnet/air/articles/building-ane-ios-android-pt3.html
    http://www.adobe.com/devnet/air/articles/building-ane-ios-android-pt5.html
    http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac35eb7b4e12cddc5fbbb-8000.html
    I have also searched the Adobe forums for the answer to my question without success.
    The error I receive is:
    ld: warning: ignoring file /var/folders/c3/mpg4frwn2j1f8scw4jctbmv9hfkswj/T/bd3fbd4a-cf56-4fd6-a06d-d69ea92dc620/lib com.mycompany.MyExtension.a, file was built for archive which is not the architecture being linked (armv7): /var/folders/c3/mpg4frwn2j1f8scw4jctbmv9hfkswj/T/bd3fbd4a-cf56-4fd6-a06d-d69ea92dc620/lib com.mycompany.MyExtension.a
    Undefined symbols for architecture armv7:
      "_MyExtensionInitializer", referenced from:
          _g_com_adobe_air_fre_fmap in aotInfo.o
      "_MyExtensionFinalizer", referenced from:
          _g_com_adobe_air_fre_fmap in aotInfo.o
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64
    I receive the above error when I execute the following command:
    adt -package -target ipa-ad-hoc -storetype pkcs12 -keystore certificate.pfx -provisioning-profile provisioning_profile.mobileprovision MyApp.ipa MyApp.xml MyApp.swf -extdir packaged-extensions
    where the folder “packaged-extensions” contains the ANE file I created using this command:
    adt -package -target ane packaged-extensions/MyExtension.ane MyExtension.xml -swc MyExtension.swc -platform Android-ARM -platformoptions platformAndroidARM.xml -C dependencies . -C platform/Android . -platform iPhone-ARM -platformoptions platformiOSARM.xml -C platform/IOS . -platform default -C platform/default library.swf
    where the content of the files are as follows:
    MyApp.xml:
    <application xmlns="http://ns.adobe.com/air/application/4.0">
        <id>MyApp</id>
        <versionNumber>0.0.1</versionNumber>
        <filename>MyApp</filename>
        <initialWindow>
            <content>MyApp.swf</content>
            <visible>true</visible>
            <width>600</width>
            <height>600</height>
        </initialWindow>
        <supportedProfiles>mobileDevice</supportedProfiles>
            <extensions>
                    <extensionID>com.mycompany.MyExtension</extensionID>
            </extensions>
    </application>
    MyExtension.xml:
    <extension xmlns="http://ns.adobe.com/air/extension/4.0">
            <id>com.mycompany.MyExtension</id>
            <versionNumber>0.0.1</versionNumber>
            <platforms>
                    <platform name="Android-ARM">
                            <applicationDeployment>
                                    <nativeLibrary>MyExtension.jar</nativeLibrary>
                                    <initializer>com.mycompany.MyExtension</initializer>
                            </applicationDeployment>               
                    </platform>
                    <platform name="iPhone-ARM">
                            <applicationDeployment>
                                    <nativeLibrary>libMyExtensionIOSLibrary.a</nativeLibrary>
                                    <initializer>MyExtensionInitializer</initializer>
                                    <finalizer>MyExtensionFinalizer</finalizer>
                            </applicationDeployment>
                    </platform>
                    <platform name="default">
                            <applicationDeployment/>
                    </platform>
            </platforms>
    </extension>
    platformiOSARM.xml:
    <platform xmlns="http://ns.adobe.com/air/extension/4.0">
      <linkerOptions>
        <option>-ios_version_min 5.1</option>
        <option>-liconv</option>
      </linkerOptions>
    </platform>
    MyExtensionIOSLibrary.m (yes, I know it doesn't do anything - it's simple on purpose to help isolate the error):
    #import "FlashRuntimeExtensions.h"
    void MyContextInitializer(void* extData, const uint8_t *ctxType, FREContext ctx, uint32_t *numFunctionsToTest, const FRENamedFunction **functionsToSet) {
      return;   
    void MyExtensionInitializer(void **extDataToSet, FREContextInitializer* ctxInitializerToSet, FREContextFinalizer* ctxFinalizerToSet) {
        *extDataToSet = NULL;
        *ctxInitializerToSet = &MyContextInitializer;
    void MyExtensionFinalizer(void *extData)
        return;
    I am using XCode to build MyExtensionIOSLibrary.m into a library file with a .a filename extension. My relevant build settings are:
    iOS Deployment Target: iOS 5.1
    Architectures: armv7
    Build Active Architectures Only: No
    Product Scheme: Release
    Compile Sources As: Objective-C
    Any ideas? Please help.

    Thanks for the reply.
    yes.I've created a static library with 3rd party frameworks and pulled the .a from product folder(Debug-iphoneos).
    and the framework didn't work(armv7 not supported error occurs ..don't know why) with it's original folder structure .
    so I followed below link to change folders inside the 3rd party framework and figured out but now  the application crashes on startup without giving an error message. .
    スタッフ日記 - 【ANE作成】外部フレームワーク を含むANE作成時の注意点(iOS) | 株式会社マリエッタ

  • Web page does not fit screen. now have scroll bar at the bottom

    2 problems exist and i have tried to find solutions to both with no luck. On Firefox 16.0.2 using XP Pro.
    First: Web pages no longer fit screen. Now have scroll bar at the bottom. For some strange reason this just started. I tried the CTRL+ 0 with no luck.
    Second: At the same time the above started when i open a program it opens in a reduced screen size and i have increase it to full screen size. This also occurs when i have it reduced 9in the system tray and i bring it back to the desk top.
    I have made no changes to firefox these problems just started. A reboot of the computer did not help

    Did you check the window settings of the Firefox desktop shortcut to see how Firefox opens?
    Did you try to delete the current Firefox desktop shortcut and create a new shortcut?
    Use Restore or Maximize in the right-click context menu of the Taskbar icon to set focus to the Firefox application if you do not see the Firefox window.
    Open the system menu of that Firefox window via Alt+Space and see if you can move and resize that window (use the keyboard cursor keys).<br />
    If that works then first close all other open Firefox windows and then close Firefox via "File > Exit/Quit" to save that setting.

  • Itunes app store is not showing screen shots (windows 7)

    Hi,
    Over the last few weeks it seems the app store isn't showing screen shots when i click to see more info about the app.  I've been looking at ipad apps, sometimes i get some screen shots but mostly i dont. I've read a thread about resetting the cache in preferences but this didn't work.
    Its really harsh not being able to see screen shots before you purchase.
    Any ideas!?
    Thanks!!!!

    Having the same issue as OP.  iPad only apps don't show any screen shots in iTunes or on the Web, but i see them on iTunes Connect.  Mac App Store applications are showing their screen shots just fine as are iPhone apps.
    Does this have something to do with widescreen on iPad, retina display??  We used high quality screen shots for our applications, the best quality the developers guide mentions.
    We double checked the Developers Reference Guide for specifications on screen shots and tried 3 of the suggested formats(JPEG, TIFF, PNG) with reso 1024x768 px but nothing has changed since thursday (june 23rd) last week. 
    0%       iPad applications show screen shots on the iTunes store for me as I write this.
    100%   iPhone applications show screen shots.
    100%   Mac App Store show screen shots...
    Anyone have any more to add? suggestions?
    I have already entered a bug report for this.
    Here's a few things that have worked for others althought they have not worked for me.  These are pulled from this community forum.
    <-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><->
    Re: App Screenshots not showing <https://discussions.apple.com/message/12174836#12174836> 
    Aug 29, 2010 2:01 AM (in response to Glynnister <https://discussions.apple.com/message/11645059#11645059> )
    I just found the problem, open iTunes and select Preferences > Advanced > Reset cache. This helped me, I been having the same problem for the past week.
    iMac, Mac OS X (10.6.4), 2.66 GHz Intel Dore 2 Duo
    <-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><->
    Re: App Screenshots not showing <https://discussions.apple.com/message/12412449#12412449> 
    Oct 11, 2010 10:59 PM (in response to Glynnister <https://discussions.apple.com/message/11645059#11645059> )
    I tried doing
    iTunes > Preferences > Advanced > Reset cache
    but that didn't work for me even with restarting iTunes afterward.
    However, here's what did fix the problem. Launch
    /Applications/Utilities/Java Preferences
    Under the 'General' tab click both of the "Restore Defaults" buttons.
    Changes take effect after re-launching iTunes.
    Mac Pro (early 2008), MacBook (late 2007), iPhones 4 + 3G, Mac OS X (10.6.4)
    <-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><->
    Re: No App screen-shots in iTunes? <https://discussions.apple.com/message/11638491#11638491> 
    Jun 9, 2010 2:21 AM (in response to Bulbatron <https://discussions.apple.com/message/11638308#11638308> )
    iTunes uses the same Web Engine as Safari to display the store, so the Safari update could be the issue.
    Try running Repair Permissions, it is in the Disk Utility software that is in your Utilities folder.
    24" iMac C2D 2.8Ghz, Au MacBook 2.4Ghz, 16GB iPhone 3G, Mac OS X (10.6.3)
    <-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><-><->

  • Unable to load external image into iOS app with AS3

    Just trying out Flash Builder for iOS app development and have run into a problem right off the bat with loading an external image into an iOS app.  The actionscript is very simple (this was basically my Hello World attempt), and I'm hoping someone here can explain where I'm going wrong.  This code works in Flash Pro, and works when launched on the desktop from Flash Builder, but doesn't work on my iOS devices.
    Here's the code:
                                  var container:MovieClip = new MovieClip();
                                  addChild(container);
                                  var imageLoader:Loader = new Loader();
           imageLoader.load(new URLRequest("http://www.google.ca/intl/en_ALL/images/logos/images_logo_lg.gif"));
                                  imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, startListener);
      function startListener (e:Event):void{
                                                 container.addChild(imageLoader);
    Any thoughts on why this won't work would be greatly appreciated!

    I had the same issue, and modified my domain policy file as specified  in http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html#_Configuring_URL_M eta-Policies but the loader is not loading the file. Any ideas on how to fix this issue?

  • Create iOS app using edge animate and DPS

    I was investigating the potential for using edge animate compositions and digital publishing suite to create single edition iOS apps. 
    After some trial and error I have been able to create a basic iOS app for kids, using EA and DPS. The app was approved and placed in the app store.  See the below link:
    https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=786031451&mt=8
    For future reference do you have specific documentation/guidelines on using EA compositions to create DPS single edition apps?  I was hoping to get a better understanding of the potential for using html5 compositions in iOS apps (and limitations).

    Hi, Andrew-
    What specifically are you looking for?  It's unclear if you're looking for best practices or other documentation.  Thanks,
    -Elaine

  • Tweening using AS3 - Not Smooth

    Hi, im trying to develop a simple web gallery.
    When the user scroll his mouse to the left side of the image the leftArrow will appear to allow him to move back
    and same goes for the right arrow. Im using AS3 tweening using the tween class but the animation is really not smooth.
    I saw this effect on a different website and the side arrows just pops out and a such a smooth way but i cant get it to work.
    Any one can tell me why ?
    Attahced i the .SWF file.
    Thanks

    Sorry ! just had to change the frames per sec !!

  • Facebook For iOS App Push Notifications Not Working

    Been seeing a lot of Threads for this problem but with no proper solution.
    Ever since I updated my Facebook App to v9.0, I havent had any push notifications come to my phone. I've tried uninstalling/deleting the app & other connected apps (Paper, FB messenger) , logging out of the iOS integration, Resetting my phone, etc. but nothing's worked. The App doesn't even ask me if I want to Activate Notifications anymore when I Re-Install it.... 
    The Phone Notifications are set to show in the lock screen & all, and the Push Notifications in the app are set to push for "All Notifications", but On the Web client I noticed that I had "Some notifications" listed in the settings (and I can't change those on the web, because it tells you to change them in the app) . The only way I know i have Notifications now is through the App Badge,, via Email or through Paper's Notification setup (But i still dont get all of them) ...
    I wonder if it could be a server issue on Faceobook's End. There has to be some way to fix this problem....Help!!!

    Hi C_S1,
    Welcome to the Apple Support Communities! I understand that you are having some issues with Facebook notifications on your iPhone. It sounds like you have already done some great troubleshooting. I suggest looking at the Troubleshooting notifications section of the following article just to verify your previous steps.
    iOS: Understanding notifications
    http://support.apple.com/kb/ht3576
    Troubleshooting notifications
    Push notifications require an active Wi-Fi or cellular connection.
    Note: Notifications use Wi-Fi only when a cellular connection is unavailable. Firewalls and proxy servers may affect your ability to receive notifications. For more information, see Unable to use Apple Push Notification service (APNs).
    If you're not receiving notifications for a specific app, try these steps:
    Verify that the app supports notifications.
    After installing an app or restoring a backup to a different iOS device, open the app to begin receiving notifications. If the app requires entering or logging in to an account, you will need to do this before receiving notifications.
    Check Settings > Notification Center to ensure that the app is configured for notifications. If notifications do not appear in the Notification Center, verify that the Notification Center setting for the app is enabled.
    I hope this helps,   
    -Joe

  • IOS app touch input not working with Adobe AIR

    I believe the problem here is my touch input but I'm not positive.
    This is my first iOS application. I'm making the game for both Android and iOS and it works perfect on Android, however when I sent it out ot my iPhone testers, they were unable to get past my "Tap to Play" screen.
    I'm using mouse events for the touch/click and this is no problem on Android and all of my research says touch events work fine for iPhones as well. Is there another way I should be handling this event?
    Below is the code that loads the next swf. Again, it works perfect on PC, and multiple Android devices.
    TouchToPlay.addEventListener(MouseEvent.CLICK, page1);
    function page1(event: MouseEvent)
         MovieClip(stage.getChildAt(0)).loadThisScreen("Menu.swf");
    Like stated above, it seems as if iOS doesn't/isn't recognizing the MouseEvent. Why is this?

    A major difference is Android supports Flash up to 11.2, so you can be getting away with it for that.
    For mobile, there's absolutely no reason not to simply convert to using TouchEvent.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/TouchEvent .html
    They work almost identical, simple CONST changes between (MOUSE_DOWN is TOUCH_BEGIN, etc).
    What MouseEvent doesn't support is gestures, so why would you use an event model with less features like MouseEvent over Touch?

  • Custom fonts on iOS app using AIR 3.9

    we are building an app for iOS using AIR 3.9 where we have to display the text using different fonts which are not available on iOS 5 or later. To fix this issue we have found a solution using XCode via ANE where by using "CTFontManagerRegisterGraphicsFont" class we can download the font from a location and register it on the device(working on mac using simulator ).  But when we are packaging the ANE with AIR 3.9, it gives us the error which says that:-
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "_CTFontManagerRegisterGraphicsFont", referenced from:
          ___setPath_block_invoke in libnet.example.download.a(IOSFontLib.o)
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64
    can anyone suggest where we are going wrong!
    thanks in advance

    According to this post, using CTFontManagerRegisterGraphicsFont should still work on iOS too:
    http://stackoverflow.com/questions/4942449/ios-programmatically-add-custom-font-during-run time
    since it requires the CoreText framework have you included the following option in your <linkerOptions> set in platform.xml?
    <option>-framework CoreText</option>

  • Can I create an iOS app using proscenium or any Stage 3D library ?

    I use Alternativa 3D, I change the render mode to "Direct" and add the line <depthAndStencil>true</depthAndStencil> in the definition app XML file
    debugging get:
    #3702: Context3D not available
    I am using Flash Professional CS6
    What is wrong?

    I do not have Flash CS6 (too many bug reports) but I use it perfectly fine in CS5.5.
    What your error means is basically the libraries are not the latest and what it's trying to export to is a lower version than is supported. It runs on Desktop because you've updated your desktops AIR to 3.2 and have flash player 11.0 or better. For AIR for iOS, you need to make absolutely sure it is packaging with AIR 3.2 or higher. Flash CS6 might be targeting something below AIR 3.2.
    Here are instructions for overlaying the latest version of AIR on Flash. This should give you an idea of what to check in your version of Flash. Go through the list item by item and check the files in the locations that are mentioned and make sure the versions are at least the same.
    http://helpx.adobe.com/x-productkb/multi/overlay-air-sdk-flash-professional.html
    If you jump ahead to step 4 you should be seeing in those files a version="15". You should also see in step 6 that the namespace AIR is pointing to is at least 3.2. If either are lower you may need to update your version of AIR, and there are the instructions to do so. Although the AIR folder will probably not be named AIR2.6 of course. But the instructions should be similar.

  • External 24 inch Monitor Not Crisp at 1080p with HDMI (and does not fit screen)

    I have a Macbook Pro (about a year old) and just bought a 24 inch ViewSonic VX2453mh-LED. I have it plugged in via HDMI and at 1080p the desktop bleeds off the edge of the screen. Adjusting the underscan makes the desktop fit correctly, but it does not look crisp. Even when Underscan is all the way off and the desktop is too big for the screen, it does not look nearly as good as my Macbook screen.
    I cannot change the settings on the monitor to adjust the screen size, presumably because I am using HDMI and have it set at 1080p. All the other resolution options are awful. How can I fit the screen correctly and esure I am getting the best look? I read something saying that VGA was a better route to go, is that true?

    vkatta wrote:
    1) Go into your monitor's menu
    2) Select Input Source
    3) Select (go into) HDMI 1 or HDMI 2 depending on what you have connected. There you will find 2 choices with the first one selected by default (I dont remember what those options are since am not in front of the monitor)
    4) Select the second option and the display should fit into your screen perfectly
    Wow, this is what I was looking for!
    I had poured over the monitor settings but never saw this menu. You have restored my faith into the Apple community forums! Thanks!
    EDIT: Thank you for coming back on here and sharing after you found a solution.

Maybe you are looking for