Scenes and Apps?

Hi Guys,
I have been working on my second app and I am using scenes to separate the various elements, 4 in total, home and 3 simple game modes.
First off does anyone use scenes? I remember reading most coders dont like scenes because they tend to cause problems, is this still true, is it true for apps? Should I just keep all of my stuff on one time line?
Next off I am having a strange issue when going from scene to scene. The first mode runs smooth but as I go through other game modes and eventually get back to the first one it starts slowing down and the more I move around the app the more the performance seems to suffer. It feels like there are events still triggering in the background and they keep stacking adding up and slowing down the process. I use WeakRefrences and remove all the events I am aware of but it still seems to be some issue.
And here is one I cant even wrap my head around, in one mode you tap a button and it runs an addChild function I have a multi touch event listener assigned to it and if you just tap the button you can only get about 5 objects on the stage before slow down but if you put one finger on the stage but off the button and tap with the other finger you get crazy good performance closer to 15 objects before the app begins to bog down which would be fine in my case.
Any thoughts would be helpful.
BTW this is with Flash Pro 5.5 and air 2.7 on iPhone 4 with latest iOS, not the beta stuff, latest public release.

Scenes work well, and are extremely useful if the project is largely animation, that is scene-like. I did an app that had about 6700 frames, and using scenes was a lot easier to manage than have a single scene that was that long.
If you're just using scenes as a way to organize a few screen arrangements, then you may as well use one scene and a few frame labels, one for each screen layout. Doing it that way could easily let you share elements across several of the layouts. I work that way a lot.
I think that with touch events you can set the frequency that you're looking at them. There are hundreds a second, and if you're trying to do something on every one of those, that could get demanding.
The other slowdowns you mentioned probably would still happen if you had a single frame FLA. Look around for the usual solutions to that, such as freeing up bitmap memory where possible.

Similar Messages

  • How can you use the same Apple ID for music and apps but have a different iCloud

    Collectively in my family we have 1 iPhone 2 ipod(4th gen) and 3 iPad mini's and we like to buy music and apps through the same Apple ID so that we can all share it but we also have a problem about the iCloud.
    My son has one iPod and one iPad and he would like his contacts and messages to be shared between HIS two devices but he would also like all of the pictures taken in the family to be shared
    The same for my daughter and for me.
    Is there a way of selecting which devices share what????
    Thanks a lot
    Acwills

    You could and should set up different iCloud accounts in "Settings > iCloud", so that every user has its own email account, calendars, reminders, notes, storage for backups and app data (files etc.), by the way everyone could also use his own account for iMessage (Settings > Messages > Send & Receive) and FaceTime (Settings > FaceTime) so that you all could write and call each other.
    Next the Apple ID for music, apps and other media: You all could just set up the ssame Apple ID in "Settings > iTunes & App Stores" for all your media purchases like songs, movies, apps etc.

  • My friend wanted to create a new iCloud account that was different to  her iTunes and app one when she deleted her iCloud account that was the same as her iTunes it won't let her log into her iTunes one now

    My friend wanted to create a new iCloud account that was different to  her iTunes and app one when she deleted her iCloud account that was the same as her iTunes it won't let her log into her iTunes one now what can I do to fix it she has paid or apps and songs and of she makes another account everything will be lost.
    Need help please :) thanks

    Ah thanks Razmee however there is NO option to delete the iCloud account in settings!

  • My safari menu bar is missing --the menu bar for desktop, HD, and apps appears, but when I click on Safari, it disappears, so I can no longer see my buttons for History, etc.  I think my husband (pc user) clicked it away.  Any ideas how to retrieve it?

    My safari menu bar is missing.  The menu bar for desktop, HD, and apps appears, but when I click on Safari, it disappears, so I can no longer see my buttons for History, etc.  I think my husband (pc user) clicked it away when borrowing my computer.  Any ideas how to retrieve it?  Thanks. 

    I too was having the same problem However, I could access both the menu bar and the dock by hovering my mouse over them so it wasn't a huge problem but I prefered having it there anyway. I was not in full screen mode and I could still go into full screen mode if I wanted to.  I found the easiest solution was to just quit safai and restart it, but it might not work for you considering you couldn't access you menu bar either way.
    I found this article that allows you to hide/show the menu bar and the dock through TextEdit (didn't work for me) http://www.mactricksandtips.com/2009/07/hide-the-menubar-or-dock-in-specific-app s.html It is pretty old so it might not work for lion and a bit risky if you don't know what you're doing so I wouldn't really recommend doing it this way.
    And KSheppard, I know it's not really any of my buisness, but the way to get answers to a question isn't by insulting others and being quick-tempered. Even if you feel like you were insulted first, don't try snapping at people who aren't obligated to help you. Honestly, it just makes everything easier if everybody is cooperative and polite.

  • My husband and I have separate iTunes accounts and multiple devices (iPads, iPhones, iPods etc) how do we share our music and apps between our devices if we have different iTunes accounts.

    Help! My husband and I have multiple devices (iPad, iPhone, iPod ) that we we have linked to individual iTunes accounts ie he has his account with iPad, iPhone, PC and iPod linked/sync and I have my account with iPhone, iPad, iPad mini, PC etc.. How do we share our music and apps across/between our accounts?

    It probably means that only one of you can use iCloud or at least sync calender/contacts with it. I would guess that you could manually manage the other phone as you have before.

  • How do I retrieve lost music and apps?

    While updating my iPod touch I lost all of my pictures, videos, music, and apps. How do I restore all of this lost memory?

    If you still have a backup, you can restore your device from that backup.
    Apps and other media can be downloaded again for free, they are not part of the backup made by iTunes:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    More info about the content of a backup and how to restore: iTunes: About iOS backups

  • TS3988 I changed my Apple ID to my new email address successfully for the iTunes and App store but it won't work for iCloud and it won't recognize my password. I read that this can't be done. How am I supposed to get into iCloud?

    I changed my Apple ID to my new email address successfully for the iTunes and App store but it won't work for iCloud and it won't recognize my password. I read that this can't be done. How am I supposed to get into iCloud? I plan on getting rid of my old email address which is my old Apple ID so how is that going to work?

    Same question Wish someone had replied!
    I changed my Apple ID to my new email and now cannot find any way to access icloud. Unfortunately I had allowed icloud to hijack my airbook files, so of course I am afraid I will lose them tomorrow when I exchange my iphone for a new one and cannot keep an icloud account i cannot access. What a poor sync system! Really atypical for apple!

  • I just got an iphone and I already have an itunes account for my ipod, but I need to sync my phone and I do not want all my music and apps on it, can I change setting on my pc with out hooking up my phone

    I just got an iphone 4s and I need to sync it to my itunes on my pc, but I do not want all the music and apps to be synced to my phone, can I change the settings in itunes with out hooking up my phone?

    Open itunes, connect iphone,select what you want, sync

  • Certain music pieces and apps won't download from my iPod to iTunes on my MacBook

    I want to put what is on my iPod on my new MacBook, but certain pieces and apps won't download because my computer isn't authorized (so it will delete it from my iPod if I sync), but when it asks me to authorize it it uses an old Apple ID that doesn't exist anymore and to which I do not have access. Any ideas how to fix this? I just want to be able to sync my iPod with this computer without worrying about losing anything.

    Check out this article:
    iOS: How to transfer or sync content to your computer
    Read the "iTunes and App Store Content" section, especially the "Transferring purchased content" link there.

  • I deleted my photos, music and apps. Help please!

    Help me please! I have deleted all my photos and music and apps. I think everything and it keeps saying I have something on phones and I really want to update my iphone. I'm on 2.7 GB Available. I don't know what to do?!

    If Other (the yellow bar) is too big something is corrupted.  The only solution (that I know of) is to restore from your most recent backup using iTunes (see http://support.apple.com/kb/ht1766).

  • I have deleted all photos, messages and apps but I still have no available space on my phone even though the applications don't add up to 12 GB.. Please help!!!

    I have deleted all photos, messages and apps but I still have no available space on my phone even though the applications don't add up to 12 GB.. Please help!!!

    You have data corruption.  restore your phone and set it up as a new device.  Not from backup

  • My 16gb iPhone 4S keep tell me that my storage is almost full and I don't have enough space for any upgrades. I don't have any music or videos on my phone. I deleted all old emails, texts, contacts and apps but still nothing. When I check my settings, I n

    My 16gb iPhone 4S keep tell me that my storage is almost full and I don't have enough space for any upgrades. I don't have any music or videos on my phone. I deleted all old emails, texts, contacts and apps but still nothing. When I check my settings, I noticed that my Instagram is at 732mb and it keeps rising. Now it's at 814mb. Please help!!!!!

    What is the precise wording of the message that is occurring?
    Are  you attempting to update via iTunes on a computer or over the air on the device?
    How much free space is actually on the device?
    If updating via iTunes on the computer, how much free space on the computer?

  • I have updated my iPhone 3s to the latest software. I had backed up my phone before I did this. Now I have lost my music and apps. I can't sync the phone with my Mac, I can't re-download as the phone says I don't have any music or apps available. Help!

    I have updated my iPhone 3Gs to the latest software in an attempt to iron out a problem with a new telephone network provider (Tmobile). I had backed up my phone before I did this. Now I have lost my music and apps. I can't sync the phone with my Mac, I can't re-download from iTunes as the phone says I don't have any music or apps available to re-download although it all shows up on my Mac. The music and app content cannot be restored when I try to restore the phone from the back up I madeon my Mac. Help!

    Working on that now.  I'm just getting frustrated that everytime I run updates for the phone I end up with tech problems that I have to spend time solving as opposed to updates that actually improve my usage.  Now I will once again get to spend hours reloading my phone all for updates that didn't affect my usage in the first place.

  • My iPod wont allow me to download certain songs and apps, why not?

    I have tried to download certain songs and apps on my iPod touch, but for some reason where it say 'install' the button can't be pressed, I can download other apps and songs but its just songs and apps here and there. For songs as well, I can have them on my iTunes but not on the iPod, I don't understand!

    Is the "Restrictions" feature enabled? You can prevent downloading explicit songs and apps with that feature. Check that and then try again.

  • I'm trying to reinstall Mavericks on used Macbook Pro. When I log in to my Apple ID, it says it was not the same ID used to purchase Mountain Lion. I need to change user/admin as a lot of the folders and apps are in Chinese!

    I'm trying to reinstall Mavericks on used Macbook Pro. When I log in to my Apple ID, it says it was not the same ID used to purchase Mountain Lion. I need to change user/admin as a lot of the folders and apps are in Chinese!

    The first thing you should do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. How you do that depends on the model. Look it up on this page to see what version was originally installed.
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc, which you can get from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. I suggest you install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. If you don't have the media, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    Once booted from the disc or in Internet Recovery, launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In the Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive, which is what you should do.
    After partitioning, quit Disk Utility and run the OS X Installer. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    You should then run Software Update and install all available system updates from Apple. If you want to upgrade to a major version of OS X newer than 10.6, buy it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Apple customer service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able toauthorize it under your ID. In that case, contact iTunes Support.

Maybe you are looking for

  • Wht is the tcode to include and report on the sap main screen?

    Hi all, What is the Tcode to include any program on sap main screen? like when we logon to the sap, it will display abap editor, etc.... i want to include one more item there, can anybody let me know how to do that? thanks

  • How to read File Parameters

    Hello, I am developing a tree navigation to access and execute different fmx's from one point. I am using the host command processing the *.LNK file to get the specific form started separately. Now I want to build a small admin tool where a user can

  • How to play DVD from .IFO file

    Hello everyone,                      When I was in another OS (:p), I was able to have the root of a DVD (VIDEO_TS and AUDIO_TS), and by selecting the .IFO file in the VIDEO_TS, I was able to watch the entire DVD with all the options and etc.        

  • Email address to report engineers

    I had BT Infinity 2 installed yesterday and the engineers did a great job. Is there an email address to write to so that a compliment can be put on their records? One of the lads was a trainee so I hope it helps him in some small way. Solved! Go to S

  • Daqmx Create Virtual channel timeout

    Why almost a minute and a half to get an error message from daqMX Create Virtual channel VI. I need to find a way to have my executable bleep immediately if the underlying drivers are not installed. For example, I have LV at home and supposedly have