App stability problem on iPod Touch
I built my first-ever app using Flash Pro CS5.5 on Windows, tested on an iPod Touch 4.
Sometimes the app runs properly all the way through. Other times, it doesn't: the app runs, goes through a few screens, and crashes and/or fails to load external audio. It seems random, with no consistency. On my iPod Touch, I've removed all other apps from running in the background, so that can't be causing memory problems.
The app is a simple image scroller:
- uses swipe actions to scroll the next image onto the screen
- image bitmaps are 480x320-pixel JPGs (there are 10)
- audio narration plays when the next image appears
- all JPGs and MP3s are external, loaded as-needed
- event listeners are used, to only allow the swipe action when the external JPG and MP3 for the next screen are loaded
- all event listeners are removed after use, to free memory
So, I've tried to keep this simple, manage memory properly, and ensure that my JPGs and MP3s are not large, loading them only as-needed. I don't understand why my iPod Touch would cause these random crashes. If anyone from Adobe can chime-in, I'd appreciate it. I intend to work on much larger projects, and I'm now very concerned that there are stability issues. If such a small app has these problems, I'm not sure if I should use Flash CS5.5 for larger projects that I have in mind for the iPad.
If anyone has thoughts, please indicate. Thank you for your time.
