Mobile performance decrease! - Severe problems switching from PFI to AIR 2.6

Hello all,
I am currently developing a rather popular title for the iPhone . It is my first ever attempt at creating something for the Mobile Market.
I started using Flash CS5 and the packager that comes with it. I optimized my game so that it ran perfectly well on 30FPS in every aspect on the iPhone 4 and iPhone 3GS.
I was really excited when I read about the new features and supports in Flash CS5.5 so I purchased Flash CS5.5 to move all my production to it.
However I noticed a severe decrease in performance as I tested publishing my game in Flash CS5.5 (Air for iOS). I understand that the new "packager" does things differently and so I have also been doing things accordingly but it still acts very instable. For instance, I have a scene with a background cached as bitmap and two short animated MC's that loops (these MC's are not cached or using filters or blending) . So I have three elements but still the FPS drops to around 3-5 FPS even though it is set to 30. On the next scene I have four elements, a background cached as bitmap and three of the same short animated MC's that loops and this works flawlessly. The backgrounds themselves is equal when it comes to what it contains. I practically have nothing on the screen and it will drop FPS!
I have discovered that when MC's containing FBF animation (like blood splatter or water splash) plays on the scene it dramaticly decreases performance. I tried Modify -> shape -> optimize... and optimized those FBF animations with 83 % but no improvement in performance were seen. When I made every frame of the blood splatter animation into an MC and exported them all as bitmaps it worked without problems but this cannot be done through the whole game and especially not in the cutscenes.
I have read and researched my eyes out and pulling my hair til baldness so now I turn to the forums for help.
If anyone out there would be willing to help I would be extremely gratefull!
Thank you,
Daani

Hello Colin!
Thank you for such a great and fast response! I needed some basic knowledge about how rendering in Flash actually works. Thanks!
I will definetly try cacheasbitmapmatrix = new Matrix()  immediately even though I actually found a wierd solution for my FPS problem that I have described below.
I discovered that most of the time the drop in FPS would only occur when textfields would be on the stage. I saw that they didn't embed anything (which means that they embedded all) and perhaps this was the problem that caused the whole doc to drop in FPS. Since I have no need to edit the text any longer I simply broke them appart until no text field existed, only vector graphics. As soon as I tested this new version on my iPhone everything is top performance. Why would something that feels so small as a text field cause the whole app to malfunction?
Another problem in my game is that I have some quite intense animation sequences where blood splatter occurs within an MC. This scene is very laggy when beeing played. I tried a lot of different things and I discovered that if I put that sequence (which exist within an MC) hidden on screen (with a loading image above) before the actual sequence is going to be played it's as if Flash stored that sequence and when it's actually going to be played for the viewer it plays without any drop in FPS at all. I'm no optimizing expert as I have never worked with really limited performance devices. How would you "load" these sequences before they appear on the screen?
And wow! That Air 2.7 seems like something groundbreaking! Can't wait for it to hit the market!
Again, thanks for your support Colin. Massive appreciation from this side!:)
Peace,
Dan

Similar Messages

  • Problems Switching from iPhone to Samsung Galaxy S4

    I switched from an iPhone to a Samsung. Why do people with iPhones continue to have problems texting me. They tried deleting my iMessage streams and re-entered my phone as a mobile. They still get error messages. It's been a week since I got the Samsung.
    By the way, I have deactivated my iphone number on the Apple ID website.
    ITH

    Unfortunately I have turned off iMessage from my iPhone and have called in to deregister. It's been almost 24 hours and it's still not working correctly. The HUGE issue is that I've basically been told "it will eventually start working". Well, I didnt pay you have the money and tell you I'd send the rest when it started working. You are a huge company dealing with another huge company. I PAID THE MONEY AND YOU TOOK IT BUT THE PHONE IS NOT WORKING THE WAY IT IS SUPPOSED TO. If you cant make a device work, you should not be selling them with the assumption that you can use it when you pay right then. There are so many forums and threads about this problem but yet nobody mentioned it at the verizon store. I will not be a customer by this evening is this doesn't resolve. This is **** poor business and terrible communication about switching devices. The largest network is doing a great job of pushing me back to AT&T. Rediculous!!

  • Problems printing from my Macbook Air to my HP Envy 120

    Hi,
    I am really getting very frustrated as trying to print from my Macbook Air to my HP Envy 120.
    I have downloaded from the HP website the software which is compatible with OS X 10.9.4 and installed it.  My printer is also connected to my Wifi router and prints off a test report and also I can print from my ipad.
    When I install the software and it goes to look for the printer - nothing is found.
    Any ideas as I am pulling my hair out now.
    Helen
    This question was solved.
    View Solution.

    Hello @Helen42,
    Welcome to the HP Forums!
    I understand when installing the Envy 120 over a wireless network, it's unable to find this printer. I will do my best to assist you! Follow this entire HP document on 'Unable to Find Printer' Error Message Displays on the Computer during a Wireless Network Installati...
    Please post your results, as I will be looking forward to hearing from you. Have a great night!
    I worked on behalf of HP.

  • Problem switching from AP-specific to Group-specific VLAN mapping

    Hello.
    Some days ago, I updated our 5508 WLC to software version 7.5.102.0.
    With that version, it should be possible to have a VLAN mapping specific for a Flexconnect group that is set within Flexconnect Group settings.
    I did that for all my Flexconnect groups and it works fine with new access point.
    For existing access point, which already have an AP-specific VLAN mapping, it is not possible to switch to Group-specific.
    When I mark the WLAN in Flexconnect setting of the AP and select "Remove AP specific", I get the error message "Request failed: Vlan is not enabled on this flexconnect".
    I wonder what the problem could be, because for newly installed access points, it works fine. Did I miss some settings?
    Regards,
    Sven Lindeke

    Thanks for the fast reply.
    Here are the screen shots:
    Settings "Flexconnect group"
    Settings "Access Point"
    Error message

  • Problem switching from a non Idea Exchange board to an Idea Exchange board when typing a new post

    Tested on Chrome/XP and IE8/XP
    when I start a post in a non Idea Exchange forum and later on want to convert it into an Idea Exchange one, I can switch to the correct forum using the "Select Board" pull-down list. However, when posting, my post is refused because I haven't chosen a "Label". Well, that's because I can't!
    In other words, switching to an Idea Exchange board does not add the "Label" options on the composition webpage, hence it is impossible to post that idea unless you copy it (or rely on the autosave function), start a new post directly into a Idea Exchange forum and paste your old post in it (or alternatively, load the saved draft once you have created the new post).
    Disclaimer: this may have already reported, but as I said elsewhere, the Search function doesn't work either...

    This is my first post so be gentle with me.  I have a Pixi Plus running os 1.4.5.  Last week we upgraded to exchange 2010 (or 14 as I've heard it called).  I lost the connection on my phone.  I tried changing the inheritable permisions above and it has not solved it.  I'm pretty sure all the log in info I'm using is correct.  It acts like it's communicating with the server because it says
    Unable to sign in
    Could not sign into account
    THe mail server responded: bad login/password
    I've changed several things and when I change certain things it says it cannot validate incoming mail server so I feel like I'm close but can't figure it out.  Any help would be appreciated.  Thank you.

  • Problem switching from year to year-1

    Hi there =),
    I've coded some little thing, that shows the momentary weekofyear and the monday and friday in that week (dd.MM.yyyy). There're also 2 links who let the
    weekofyear go -1 or +1 and then change the monday and friday automatically.
    My problem is, that I do need to go to the last year sometimes. So I click the "-1"-link and the w.o.y. goes 20, 19, .... 3, 2, 1, 0, -1, -2, -3, ...
    First, in reallity there's no week number 0 or -1 or -2...So I need to fix this, too
    So I need to set the week to 52 or 53 if it less than 1. But how do I manage this?
    Here is some code:
    // This code is to change the w.o.y., if the parameter kw_change is 1 or -1:
    Calendar calendar = Calendar.getInstance(Locale.GERMANY);
    if ((request.getParameter("kw_change"))!= null)
         switch (Integer.valueOf(request.getParameter("kw_change")))
              case -1:
                   session.setAttribute("kw", new Integer(((Integer)(session.getAttribute("kw"))).intValue() -1) );
              break;
              case 1:
                   session.setAttribute("kw", new Integer(((Integer)(session.getAttribute("kw"))).intValue() +1) );
              break;
    Integer weekOfYear = (Integer) session.getAttribute("kw");
    if ((session.getAttribute("currCalendar")) != null)
         calendar = (Calendar) session.getAttribute("currCalendar");
    calendar.set(Calendar.WEEK_OF_YEAR,weekOfYear);
    calendar.set(Calendar.DAY_OF_WEEK,Calendar.MONDAY);
    SimpleDateFormat sdf = new SimpleDateFormat();
    sdf.applyPattern("dd.MM.yyyy");
    session.setAttribute("currCalendar", calendar);Times before this code, this code sets the kw (calendar-week in german) to the current kw:
    Integer kw = new Integer(calendar.get(Calendar.WEEK_OF_YEAR));
    session.setAttribute( "kw", kw);I really have no good idea to solve this. So if there are any suggestions, I'm very thankful. I don't necessary need a complete solution. I'm just out of ideas >.<.
    Best regards
    X--spYro--X

    case -1:
                   session.setAttribute("kw", new Integer(((Integer)(session.getAttribute("kw"))).intValue() -1) );
         break;replace this code with the following
    case -1:
           session.setAttribute("kw", new Integer(( ((Integer)(session.getAttribute("kw"))).intValue() == 1)?53:((Integer)(session.getAttribute("kw"))).intValue()-1 );
    break;here i am assuming that after week 1, it'll goto week 53.
    for case 1 you can implement the similar logic.
    i hope this is helpful
    Diablo
    Edited by: Diablo_Chiru on May 16, 2008 2:48 AM
    Edited by: Diablo_Chiru on May 16, 2008 2:49 AM

  • Problems switching from personal domain to .mac

    I'm wanting to move a site from my personal domain to .mac. However, when I attempt to publish the site it automatically attempts to publish to my personal domain. How can I change the settings to publish to .mac?
    I attempted to solve this problem by creating a "new" site, but it still tries to publish to the personal domain rather than .mac.

    I've done it. I just copied my data to the Mac and also copied the library files:
    http://docs.info.apple.com/article.html?artnum=93732
    This preserved all my ratings and playlists, etc.
    I think there was a little bit of magic to get iTunes to find where all the music was now stored. It wasn't that difficult though. Plus only do this before you delete all your stuff on the Windows machine.

  • Problems switching from MobileMe to iCloud

    I had a MobileMe account and now I need to switch to iCloud. I want to keep the prefix from my MobileMe email account. When I start the iCloud process and try to enter my prefix it claims it is already taken. And I think it is taken by me
    I want to keep the rail prefix, how do I do this?

    MobileMe closed a year ago and if you did not migrate to iCloud before the end of August last year you can no longer do so. This means your @me.com address is no longer active.
    It's not clear whether you can open an iCloud with the same prefix, but you won't be able to get an @me.com address. Go to System Preferences>iCloud (Lioni 10.7.2 or higher required) and sign in with your @me.com address. As this is an Apple ID (even though it's not functioning) you may be able to do so and get an @icloud.com address, though it's possible you may have to choose one with different prefix. If it won't accept the @me.com address as an ID you will have to get another Apple ID and try with that.
    If you do use the @me.com address as an ID you need to make sure you have an alternate contact address since if Apple try to contact you at it, it won't work.

  • X200s - problems switching from mains power to battery - temporary freeze

    Hi All,
    Noticing a problem with a brand new x200s downgraded to Windows XP from Windows 7 (although never operated with Windows 7) where there is a temporary freeze when either connecting to mains power, or disconnecting from mains power. While it is not a proper freeze, as I can ALT+TAB between applications, I cannot actually do anything (close AP's, write emails etc). This lasts for up to 3 or 4 minutes, and then everything recovers - recovery happens to the extent that anything done during the freeze suddenly happens, like pressing the ThinkVantage Button, or right-clicking on a taskbar item etc.
    I wonder if this is something to do with the Lenovo power management system - anyone got any ideas please?
    Many thanks

    Hi,
    make sure, that you are using the latest version of Power Manger , power mangement driver . These two parts are basically responsible (when they are installed) for the power configuration.
    Please let me know, what is the version of Power manager and power management dirver, that you are using.
    Also based on you description, when all is working, when pressing ATL+TAB, then try to open Task manager with CTRL+Shift+ESC and check, what is taking the CPU and memory comsumption.
    Once this will not show you anything, go to Windows Event log, maybe there you can find some hint.
    Just to make sure, that I understand this corectly: You see this kind of behaviour, when you unplug or plug in the sytsem into AC ?
    Cheers

  • Problems Switching from Prepared to Supervised in Apple Configurator

    Hi all,
    I am at a school managing a cart of iPads.  I was using Configurator just to Prepare them and push out a profile and apps.  I didn't use Supervise, because I wanted to be able to plug them in to other computers to transfer video.  Some update to Configurator came out and I can no longer use Prepare to install paid apps.  Frustrating, but okay.
    Next I turned on Supervise so I can install paid apps again.  Apparently this requires erasing the iPad.  Okay, fine.  iPads were erased and set to Supervise, but I have no redeem codes left!  I can still see that the redeem codes are in Configurator, and are matched up to the iPad serial numbers, but I can't check the box to install them.  This is different from the problem of having lost the Configurator information described here: http://support.apple.com/kb/ht5194
    Can someone explain how I can use my existing match of serial numbers and redeem codes to install apps?
    OS 10.7.5
    Configurator 1.2.1

    Hey Neil,
    Unfortunately, iPads that are Supervised with Apple Configurator can only transfer files/photos via USB to the computer that it was supervised by. We ran into the same thing in our school district. If you want to get videos or photos in any other way you will need to go wirelessly.
    We've been using Dropbox to transfer photos and videos from iPads and its been working great. The Dropbox app has a very cool auto-upload process that will automatically upload photos and videos from the iPad Camera Roll to Dropbox. Once you log in to the Dropbox app on the iPad with your account, click on the Photos icon in the lower left corner of the screen (second one from the left). Then select "Enable Camera Upload" and "Only Wi-Fi." The upload process will begin for all existing photos and videos in the Camera Roll. From now on, all future photos and videos taken by the iPad will automatically upload to the Dropbox folder.
    If each student has a Dropbox account, they can "share" their photos folder with the teacher so that when the teacher logs in to his/her account he/she will see all of the students' videos and photos.
    Hope this helps!
    ~Joe

  • Problems switching from Story View to Layout View

    Hey,
    When I'm writing a story in story view everything looks okay but as soon as I change the view to layout view all of my "hn" gets changed to a "ç"
    Does anyone know what this would be happening or how to fix it?
    Wrote a story about a John and his name got switched to Joç every time.
    Thanks for any help!

    You need to provide some more details. What font are you using in Layout view? Are you using a different language than English? You're obviously inputting the correct characters in Story view but it sounds like the font applied to the text is not supporting those characters which is odd. Details please.

  • Problem switching from individual subscription to team subscription

    my company recently purchased a cc team subscription. previously, i had an individual subscription. i accepted the invite, and can see that the team membership appears in my account at creative.adobe.com, but now that my individual subscription has expired, i keep getting logged out of the cc app, and all apps are now trials.
    i was on adobe chat earlier today & waited 20 minutes to chat with someone, who ultimately told me that it was a technical issue & to call adobe support.
    my IT just had to hang up after waiting on hold for over 45 minutes with adobe support
    can anyone out there from the adobe team help me please?
    thanks!

    Hi Isatony,
    Can you try signing out of the Creative Cloud app and then back in again and see if the issue persists?
    (Click to view larger)

  • Severe Samba performance decrease after u6 - u7 upgrade

    I just upgraded my Solaris 10 x86 system from u6 (kernel 138889-08) to u7 using LiveUpgrade. I have samba sharing some ZFS filesystems, and the first thing I noticed after the upgrade was a severe performance decrease in reading files via smb.
    For example, using smbget from a MacOS client to retrieve a particular test file, pre-upgrade I was getting about 30Mb/sec, but after the upgrade to u7 I'm only getting 100Kb/sec. If I boot back to my alternate boot environment that still has u6, performance returns to normal. This happened when u7 was first released, so I just ignored it and went back to u6, and now I tried u7 again yesterday and applied all of the current security and most recommended patches (including the latest samba patch) and am still experiencing the same behavior.
    I don't currently have any socket options or other performance tuning in my smb.conf, it is about as simple as possible with just a couple share definitions.
    Any ideas why the upgrade would cause such problems for samba? The only troubleshooting I can think to check is that the network card (e1000g) isn't getting errors all of a sudden after the upgrade, but netstat -i shows everything is working as expected; 0 errors/collisions/etc.
    Any suggestions would be appreciated!
    Thanks,
    Matthew

    Hi Experts,
    After i tried a few times, i can successfully start prepare with upgrade asistant monitor - Administrator >> Start Prepare,
    Thanks

  • After update to IOS 7.1 Mobile Operator decreased the performance of Iphone 5s.

    After update to IOS 7.1 Mobile Operator decreased the performance of Iphone 5s. When  the cell of my current mobile is active Iphone 5s works so bad. It is not fast and it takes 3 seconds when you wanna enter to any section. I have changed my mobile operator and it worked fine after the change.It is so interesting that how it can happen? It happened after IOS7.1. And several people have the same problem with their Iphone 5s after update to IOS7.1. And thay all using the same mobile operator that I used before.
    I have called to the customer service of mobile operator. But they say that there is no any problem with their cell. Buit in fact a lot of people have  problem on their Iphone 5s after IOS 7.1 update and they are all using the same mobile operator

    HOTSPOT Problems with iOS 7.1
    Settings for hotspot connections have been changed by Apple at the request of some carriers.  IF your carrier is not on this list http://support.apple.com/kb/HT1937 then you cannot connect using hotspot.. Complain to your carrier

  • I know have a mobile me account and so my apple id is switched from my email address.  i am trying to update my apps but it won't let me as it won't recognize my new 'ID'. how can i fix this on my iphone?

    I have mobile me account now and so my apple id is switched from my email address to my mobile me address.  Since I have made this change I can't update my apps. Everytime I try to sign in it won't recognize the switch. I have updated all the proper information on my iphone, however, when updating apps it still shows my apple id as my email address and not the mobile me account address. I am not sure what else to do???  I have even sync'd my iphone and tried to do it through my pc, however, it says that it can't update (nothing to update). I have ten updates sitting on my iphone apps...What to do...what to do?  Very confused.

    Where are you trying to log in? You should be able to change your ID at http://appleid.apple.com - can you log in there?
    Before you change your ID you should log out of the iTunes Store and on any devices which are logged into iCloud. Then once you've changed it you can log back in with the new ID. (Your iCloud synced data will disappear from the device when you do this but will reappear when you sign back in - give it time).
    If you are unable to sign into http://appleid.apple.com you will need to contact Support. Go to http://iforgot.apple.com and sign in with your iCloud login. A new password will be sent to your associated email address. If this doesn't work you will have to contact Support. Go to https://getsupport.apple.com . Click' See all products and services', then 'More Products and Services, then 'Apple ID', then 'Other Apple ID Topics' then 'Lost or forgotten Apple ID password'. If you have any problems with that try this form: https://www.apple.com/emea/support/itunes/contact.html

Maybe you are looking for

  • How to install Windows Server 2012 as a Virtual Machine on Window 7 64 bit machine

    Hi All, I need to install virtual Window Server 2012 on Window 7 machine(8gb ram,64 bit machine). Please give me the list of required softwares to install. If possible the please give download link as well.  Thanks mit

  • HDMI Issue connecting laptop to HDTV

    Hi Guys - I had my laptop connected to my HDTV via HDMI. I had unplugged the HDMI to take the laptop on vacation. It's been awhile since I connected it. Now when I connect the HDMI, I am getting the visual but not the audio on the tv. What am I forge

  • Elements four, Raw file

    I currently have Elements 4 on my mac laptop, I am having a problem loading raw photos from desktop to adobe bridge or elements 4. I get a message that reads "Could not complete your request because photoshop does not recognize this type of file", do

  • How do I get an abode player that works on Mac OS X version 10.4.11

    I have a desktop Mac and it's using OS X version 10.4.11 and I updated it and now my abode player doesn't work. How can I install an abode player that will let me watch youtube videos and listen to music links on facebook?

  • Numeric Keys and some other keys are not working

    Hi, I am having T60 2613 HNU model, ,the problem i am facing issue in keyboard. following key are not working numeric keys are not working end key is not working left arrow is not woking working keys are as follows 5,6 is working all alphabet keys ar