Ios app with Adobe Flash performances issue?

Hi.
I buy ios enroll program today. I tried to addchild few bitmap on stage and rotate them.
Awful. My computer can hold about 300 rotating bitmaps without lag.
IPod Touch 4: less than 10 bitmaps. 10 Bitmaps are moving = 1 fps?!
Are you kidding me Adobe? What is that thousand and thousand movieclip on that Ipad http://www.youtube.com/watch?feature=player_embedded&v=ZPHATCbnHE0
My Main class is basic:
package com.ecrevous {
          import flash.display.MovieClip;
          import flash.display.Sprite;
          import flash.events.Event;
          import flash.display.Bitmap;
          public class Main extends MovieClip {
                    public var bg:Sprite;
                    public function Main() {
                              bg=new Sprite();
                              this.addChild(bg);
                              for(var i:uint=0;i<10;i++){
                                        var p:Bitmap = new Bitmap(new Cochon());
                                        p.x = stage.stageWidth*Math.random();
                                        p.y = stage.stageHeight*Math.random();
                                        bg.addChild(p);
                              addEventListener(Event.ENTER_FRAME, onEnter);
                    public function onEnter(e:Event):void{
                                        trace('number Cochons: '+bg.numChildren);
                              for(var i:uint=0;i<bg.numChildren;i++){
                                        bg.getChildAt(i).rotation+=10;
And there is my XML
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<application xmlns="http://ns.adobe.com/air/application/3.2">
  <id>com.ecrevous.kingkidnap</id>
  <versionNumber>1.0</versionNumber>
  <filename>King Kidnap</filename>
  <description/>
  <!-- To localize the description, use the following format for the description element.<description><text xml:lang="en">English App description goes here</text><text xml:lang="fr">French App description goes here</text><text xml:lang="ja">Japanese App description goes here</text></description>-->
  <name>King Kidnap</name>
  <!-- To localize the name, use the following format for the name element.<name><text xml:lang="en">English App name goes here</text><text xml:lang="fr">French App name goes here</text><text xml:lang="ja">Japanese App name goes here</text></name>-->
  <copyright/>
  <initialWindow>
    <content>iJump.swf</content>
    <systemChrome>standard</systemChrome>
    <transparent>false</transparent>
    <visible>true</visible>
    <fullScreen>true</fullScreen>
    <renderMode>direct</renderMode>
    <autoOrients>false</autoOrients></initialWindow>
  <icon/>
  <customUpdateUI>false</customUpdateUI>
  <allowBrowserInvocation>false</allowBrowserInvocation>
  <iPhone>
    <InfoAdditions>
      <![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array>]]>
    </InfoAdditions>
    <requestedDisplayResolution>high</requestedDisplayResolution>
  </iPhone>
</application>
As you can see, I'm using direct renderMode.
What I am wrong?

Welcome to the optimized code !
You need create optimized code
the iPod and iPhone are not a Computer. Rotations are very expensive process for the CPU, you need to use bitmap caching matrix
http://help.adobe.com/en_US/as3/mobile/WS4bebcd66a74275c36c11f3d612431904db9-7ffc.html
http://www.adobe.com/devnet/flash/articles/optimize_content_ios.html

Similar Messages

  • Lag When Programming For iOS Device With Adobe Flash Professional.

    Hi, I'm trying to make an Application for iOS device, Everything is find, but when i installed it on my iphone 4 and my iPhone 4S my game start lagging, i don't what to do, i tried to simplifed the code but nothing is working i dont know if it's in the rendering or when i'm trying to export, but on my iPhone it's lagging.
    Any Help Please, Solution ?
    Thanks
    Francis

    Target gpu on the device you're testing .. you'll get much better results.
    You can do it on the xml configuration file on <renderMode> or if you're publishing in flash on the settings of renderMode select GPU.
    Also get rid as much as you can from vector graphics and use bitmaps instead.
    You can use Adobe's method of converting a vector in bitmap like this : myMC.cacheAsBitmap = true;
    And also if you're moving an object, scaling or changing it's transparency use myMC.cacheAsBitmapMatrix = new Matrix();
    These are some basic optimization tips.

  • Can Flash CS5.5 create ios app with in game purchase function?

    Can I use flash CS5.5 to create ios app with in game purchase function and other ios specific functions? Is there any limitation compare to using ios native development environment? Same questions for Android OS.
    Thank you very much.

    First disable autoplay. It gave errors for me. Try to make the movie play with the play() command.
    to embed the movie in your air bundle, just go to publish settings for your flash project. Then in that screen go to the player settings.
    In the first GENERAL tab you'll see a the bottom that you can add files to your project
    Propably there is allready your .swf and an .xml file in there.
    Using the + icon you can add your video.
    Make sure that your video is in the same directory as your . FLA file and you can use it as is (by name)
    If for example your flashfile is in c:\mytest\mytest.fla and the video in c:\mytest\videos\myvideo.flv , then you will have to load your video as "videos/myvideo.flv" with a FORWARD slash, never use \
    Good luck

  • Privacy/Security Issue with Adobe Flash 10

    Not sure if anyone has noticed this or not, but there is a
    bizarre (if minor) privacy/security issue with Adobe Flash Player
    10. I came across it while attempting to upload a file to Flickr.
    Previous versions of AFP do not exhibit this problem.
    Specifics: using Firefox 3.x, Vista.
    The problem: When Flickr calls the "open file" dialogue in
    Flash 10 (in order to upload files) via the "Upload Photos and
    Videos" link, at the bottom of the dialogue, to the right of the
    "File Name" box, sits a common UI element that brings up a dropdown
    menu of what appear to be (or at least are supposed to be) recently
    viewed or downloaded or accessed files. Actually I'm not sure how
    Flash 10 compiles or accesses this list of files, but at any rate,
    a list of files come up.
    The problem is that, as far as I can tell, the list of files
    that come up reference a long list of files, some that are very old
    and that no longer exist, and that there is no way that I can find
    to clear the list. This is a minor security/privacy issue, as
    generally there should be a way to prevent a dialogue from
    displaying a long list of past-accessed files by clearing a cache
    somewhere or other -- imagine if it was impossible to clear the
    history of a web browser, for example -- this would be considered a
    pretty significant privacy issue. I have tried everything from
    flushing the browser cache to uninstalling and reinstalling the
    browser to uninstalling and reinstalling Adobe Flash to using the
    Flash Settings Manager to clear out the Flash saved sites to
    turning off Vista indexing to clearing out Vista's Recent Items
    list. None of these actions did anything to clear out this list of
    files. I can find no references to these files anywhere when I use
    Vista Search (with unindexed and system files searched as well),
    and I can find no reference to the files anywhere in the registry
    (I checked just in case Flash 10 was storing this index in some
    really bizarre place.) I've linked to a screenshot below of what
    I'm talking about -- most of the files listed below were deleted a
    long, long time ago, and so I have no idea why this dialogue refers
    to them.
    Screenshot
    Is there a simple work-around for this that I'm unaware of?
    Even if there is, there needs to be some more obvious way to clear
    out this list. Where is this information being stored, and what
    criteria does this list use to "put a file on the list"?

    Thanks for putting me on the right scent. That's what I'd
    originally thought, too -- it's just that the file-> open dialog
    was giving an entirely different list of files with other
    applications, so I assumed that it must be Flash that was the
    culprit. Turns out the reason it was different with Flickr was
    because it was restricting the file results via a long string of
    video and picture filetypes that are compatible with the Flickr
    service.
    It turns out the information I'm looking for is buried deep
    within the registry. The only way to clear out this list of files
    is to delete the following key (or specific subkeys):
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePidl MRU
    Seems more than a little stupid to store such information in
    the registry if security is your concern. Vista beguiles me
    sometimes.

  • Firefox 3.6.23 having freezing and rebooting issues with Adobe Flash Player 11 Plugin

    Firefox 3.6.23 is experiencing constant freezing and rebooting issues with Adobe Flash Player 11 Plugin, not sure if it is a conflict issue or not.
    Since the update there had been no reported issues till today when the blue screen came up on me, this issue prior to plug in 11 had occurred at least 6 times, this issue only happens on firefox.
    I do not wish to update since recent firefox browsers seem to have a lot of ongoing issues.

    Anyone able to help please?
    Thanks.

  • Having issues with Adobe Flash player hanging the browser

    Having issues with Adobe Flash player hanging the browser.
    WIN 7 enterprise 32 bit / Firefox 19.0.2 /
    Internal company website keeps giving attached screen shot error, and hangs the browser when error pops up.
    Steps taken:
    Uninstalled Adobe Flash player with the file “uninstall_flash_player.exe”
    Deleted provided directory in instructions
    "Copy and paste the following and click OK.
    C:\Windows\system32\Macromed\Flash        
    Delete all the files in this folder."
    Rebooted PC and reinstalled the flash player directly from “http://www.adobe.com/support/flashplayer/downloads.html”
    Re launched company website and received same error.
    Repeated above steps as well as uninstalled Firefox browser.  Even went so far as to remove all profile information to start fresh from all profiles on the laptop with the same results.
    Note: The web page will work without the flash player plugin, and my page doesn’t hang the browser. Required to open page in FireFox per company policy.

    I'm sorry you're encountering this.  Could you paste a few of the most recent report ID links displayed when you go to "about:crashes" in the Firefox address bar?
    As for workarounds, the first thing I'd suggest is trying our 11.7 labs release which you can get here: http://labs.adobe.com/downloads/flashplayer.html
    If that doesn't help, please try the troubleshooting steps outlined in this FAQ:
    How do I troubleshoot Flash Player's protected mode for Firefox?
    In particular, I'd recommend temporarily disabling protected mode (for troubleshooting purposes only) to see if that addresses the issue.
    Thanks,
    Chris

  • New to IOS apps and Adobe CC

    I am Creative cloud photographer member ( Lightroom CC   Photoshop CC ) and would like to know if downloading "Adobe Shape CC" on my iPhone will change my subscription plan. In other words; what are the costs with this app ?

    1. I am running Windows Vista, and noticed iTunes backs up my iPhone when connected. Is it possible for me to store backups of these backups externally so I can restore in the event of a hard drive failure?
    Yes. The backup file locations are listed in:
    <http://support.apple.com/kb/ht1766>
    (Click "Expand All Sections".)
    Note that the backup does not include music, so you should also backup your iTunes library.
    2. I am reluctant to upgrade to iOS 4, solely due to performance issues.
    That may be a problem currently with the 3G, but not with a 3GS. 4.0.2 works fine on my 3GS.
    I am aware of an update to iOS 4 which plugs a security vulnerability relating to PDF viewing. Does this vulnerability exist in 3.1.3?
    Yes.
    <http://support.apple.com/kb/HT4291>

  • Profiling an iOS app written in Flash.

    I have a fairly simple app that is running slower than expected on an iPhone. Even without animations I takes too long to respond to user actions.
    What tools do you recommend for funding performance bottlenecks in an iOS app written in Flash?
    Thank you.

    Code and Graphic optimizations.
    http://www.adobe.com/devnet/flash/articles/optimize_content_ios.html

  • Something conflicting with Adobe Flash that won't allow email attachments in gmail

    Something conflicting with Adobe Flash that won't allow email attachments in gmail
    I have been speaking with senior techs in the google forum, and they suggested I post here.  There is something about my computer settings or security software is  conflicting with Adobe Flash.
    I did a clean install of both Flash 10 and Firefox 3.5.7 (I uninstalled the previous versions).
    The problem is with gmail.  I get the error message when  attaching files:
    "Attachment failed. This may be due to a proxy or  firewall."
    Any ideas???
    Using Firefox 3.5.7
    Using MAC  OS 10.4.11
    Using Flash 10
    I do not have security software, proxy or firewall settings.
    I started a question in these forums:
    http://www.google.com/support/forum/p/gmail/thread?fid=791ff1130e2fc23100047e95d237082a&hl =en
    http://support.mozilla.com/en-US/forum/1/554629?

    So if your not using a Flash app, not running a flash program, and you are using a browser on a remote mailserver, why would you think Flash is the issue?
    Secondly if you are not using the Flash CS3/4 program somewhere in the loop, than you would be better served in the Flash Player forum, this is a Flash Developers forum. Sounds more like gmail may use some flash components to display something, but should not have an effect on file transfer unless your Flash settings deny it. You have to allow local content from being run with active x/flash.
    http://forums.adobe.com/community/webplayers/flash_player
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l

  • I just bought an Ipad and find that it is not compatible with Adobe flash player which I need to play Bridge on line on BBO.  Is there a solution for this problem?

    I just bought an I pad abd find that it is compatible with Adobe Flash Player which I need to play bridge on BBO.  Is there a solution to this problem?

    No Flash for iPads, iPhones, or iPods
    Here's why there's is no Flash available for iDevices or other mobile devices. Adobe was unable to provide a product that was suitable to the needs of battery powered mobile devices used for Internet browsing. Existing Flash technology used too much memory, ate battery life, and was buggy. Simply put Flash did not work well on mobile devices.
    Apple's Steve Jobs led the escape from Flash dependency when Apple introduced the iPhone, and later introduced the iPad. There was a hue and cry over the omission. Time proved Jobs was right on target.
    So this is why there is no Flash for your iPhone or iPad or iPod nor for most SmartPhones. Flash has been abandoned by many sites in favor of supported technologies such as HTML5 or by providing their own custom app.
    Here is Steve Jobs official comment on his momentous decision to omit Flash from iDevices: Steve Jobs on Flash.
    Here is Adobe's later announcement to cease development of Flash for mobile devices: Adobe on Mobile Flash.
    Now, you are not necessarily out on a limb. There are some apps that can display some Flash, but don't count on there ability to display anything using Flash.
    Apps that can display some Flash from the Web:
    Puffin
    SkyFire
    Photon Flash
    Browse2Go
    iSwifter
    Also, note that many sites that use Flash provide their own app for accessing their material. So check with your favorite sites and find out if "there's an app for that."

  • Viewing web sites with Adobe Flash contents

    How can I view web sites with adobe Flash player plugin for safari on iPad?

    Sorry, you can't.
    Thoughts on Flash
    But a lot of sites are converting to HTML5 and there are other options.
    Examples from Steve's link above, "YouTube, with an estimated 40% of the web’s video, shines in an app bundled on all Apple mobile devices, with the iPad offering perhaps the best YouTube discovery and viewing experience ever. Add to this video from Vimeo, Netflix, Facebook, ABC, CBS, CNN, MSNBC, Fox News, ESPN, NPR, Time, The New York Times, The Wall Street Journal, Sports Illustrated, People, National Geographic, and many, many others."
    See also Microsoft echoes Apple view on Adobe's Flash

  • Native iOS app with MAF logon components: Linking fails

    Hi all,
    I try to compile a SDK 3.0 project with MAF logon components.
    I followed this tutorial and finally got a running iOS app with the dependencies for the SDK: Getting started with SMP3 Native OData iOS apps
    Now I would like to add MAF logon component usage. The Sybase guide describes this under Developing with MAF Logon.  I copied the basic initialization steps from there to my project.
    However, although I have all the required headers, the linker fails trying to find the implementation for MAFLogonUIViewManager.h
    I guess I did not add a dependency properly. In which of the files/bundles added should this component be?
    Best, Martin

    Hi,
      I am having a similar issue. I am following the same instructions. At the point where I create the LogonHandler, the file MAFLogonManagerNG.h is not found by Xcode. This file does not seem to be present in the SDK either. When I comment it out, the MAFLogonUIViewManager is not recognized.
    Have you been able to resolve your issue?

  • How to avoid "App requires Adobe Flash." error message when Adobe Flash is already installed??!!

    On my new Lenovo Yoga 3 PC laptop I am trying to install Kayak and Pandora apps but once these apps are downloaded, whenever I try to open them, an error message pops up saying: ADOBE FLASH REQUIRED. The Kayak (or Pandora) app requires Adobe Flash. Installation is free.  "Install" or "Not Now".
    I have installed Adobe Flash 10 times and rebooted etc. but I still cannot use those apps because of this error message.
    This is driving me crazy.
    I have checked to confirm that the newest version of Adobe Flash IS installed and working on my computer.
    What can I do?????
    Thank you.

    Typically when software applications are using an embedded browser window that wants Flash, they're looking for the ActiveX version used in Internet Explorer.  If you've been installing Flash Player for Firefox, that's not going to help.
    Fire up Internet Explorer, go to http://get.adobe.com/flashplayer and follow the prompts.  This should resolve the issue for you.
    If you're already using Internet Explorer on a Windows 8 or higher machine, then Flash Player is already a built-in component of IE.  The problems you're running into may be specific to the intersection of those websites and Internet Explorer 11.  (IE11 makes a bunch of changes to how the browser is identified, which may ultimately cause the sites to fail to detect Flash.)  In that instance, the easiest workaround is probably to just use Google Chrome - http://www.google.com/chrome/ while we wait for the world to adjust to Internet Explorer's new approach.

  • Cannot associate media file types .swf .flv with Adobe Flash media player

    I have been trying to associate these media types ( .swf .flv ) with Adobe Flash media player (9.0.124 latest from Adobe site) but cannot see the program in the list (looked under Adobe, Flash, Macromedia, Common etc) after loading. I have repeated the process, rebooted, and no luck.
    Any ideas why a new program should not show in the Programs list ? 
    thanks
    Simon 
    X300 Vista  

    kevpatts wrote:
    Hey sdalek,
    It's actually not all sites. I've found a few that work. I'll have a look for any difference in implementation to try to narrow down the issue.
    Regards,
    Kevin
    Thanks, I'm curious to find out what's different. I've repair disk permissions again using the one in Disk Utility instead of Cocktail with not luck As far as I can tell, all my issues seem to be occurring solely on www.adultswim.com and is sill happening with Camino, Firefox, Safari, and SWF & FLV Player. I'll keep checking other sites to see if the problem manifests itself elsewhere and I'll post any other changes I make to my system that might appear to help.
    Regards
    Message was edited by: [email protected]

  • Ram problems with Adobe Flash Player 9

    Hi,
    I have a program that runs with Adobe Flash Player 9 and it
    seems that there are memory leaks with this program, in conjunction
    with a poker program known as Jungle Poker. My system resources
    seem to go to 1 or 2%. The text gets bigger and I have to quit out
    of the program. Once I do that its fine for anywhere from 5 to 30
    minutes but it again has the problem.
    My system specifications are:
    I have a pentium 3 800mHz 128MB ram 30 GB hard drive with
    \windows 98 SE
    I have a picture of the problem if it helps.
    Any help would be appreciated.
    Thanks,
    Jeff
    This is my first time using this forum so hopefully a
    response will be sent to my email or I will be notified. If not
    please also send a message to [email protected]

    I am using vista and having the same issue...

Maybe you are looking for

  • Unable to capture packets on ASA(ASDM)

    Hi all, We have site to site VPN connection to one of our client. From which we both are accessing our applications and other resources. Now client needs to acccess two of our internal server. So we have created Static NAT in our ASA. For one server

  • Vendor payment in installment

    Hi All We have a requirement that we need to pay 50% amount to vendor at the time of payment. I know it can be done thru FI using F-47. Is there any way, we can handle the advance payment thru MM using payment terms or any other option? Regards SAmee

  • Serious Album Art Question!

    here is the situation, for the songs i have purchased it works perfectly, however, for other songs that i have that i have applied album art too, even though when i select it in the iTunes the album art is the same for the whole album, for other albu

  • HP officejet All in one 4110/ Printer Cartridge

    Has this ever happened to anyone. I have changed printer cartridges on my printer so many times with no problems. This last time when I replaced them, I accidentally put the black where the color should go and visa versa, When I discovered this I sta

  • Integrate UltraSearch in HTMLDB page

    I would like to use the Ultra Search query form within a page in HTMLDB, but I am not sure how to do this. I imagine creating a page with a text box and a button like in the demo query application and call a function (getResult?) in the wksys schema,