Skip to main content
September 15, 2011
Question

Is Adobe Flash stable enough compared to native applications?

  • September 15, 2011
  • 1 reply
  • 1320 views

Hello developer community!

I have a couple of questions:

Is Adobe Flash stable enough for use on the iPad?

Is it an alternative compared to native apps?

What are your experiences?

Cheers Christian

This topic has been closed for replies.

1 reply

September 15, 2011

If by stable you mean how often it crashes to the home screen then its very stable. I've never had it quit on me unless I did something to make that happen.

Its not as smooth as native apps especially for stuff like scrolling and dragging from my experience but its ever changing so going forward that might not be much of an issue. Looking forward to AIR 3.0.

Inspiring
September 16, 2011

I agree, it's pretty stable.

The only thing you have to watch out for is memory overruns, which can cause an app to quit unexpectedly.

This can happen in GPU as well as CPU mode, but is more likely to happen in GPU mode.

One issue, I believe, is that the GPU memory can fill up faster than the garbage collector can get to it.  So the app can run out of memory, even if there is a significant garbage collection debt, which if it had run, would have prevented the crash.

One tip is to always dispose your bitmapDatas manually (via BitmapData.dispose() ) when you are done with them, rather than wait for the Bitmaps to be garbage collected.  Manually calling System.gc() is another option, but it can cause a hichkup in your fps.  Note: actually, you need to call System.gc() twice in a row: first pass marks orphaned objects, second pass removes them from memory.

Scrolling big chunks of text/bitmaps is one of the most demanding things you can do, and is one use-case in which you can run into memory overrun issues pretty quickly, from my exp.

Note: for iOS, the iPad1 is the most likely device to have such problems due to the small GPU memory (256mb) compared to large display resolution (1024x768).  If your app runs well on an iPad1, you won't have any issues on the other devices.  Also, try StageQuality.LOW, it can make a big difference as far as performance.

Participating Frequently
September 18, 2011

Nice advice AsterLuxman,

I'm just curious regarding the iPad1, I would have thought that the iPod Touch 3 8 gig would run worse than an iPad1? I've only been able to test the app I'm developing on an iPad1, iPad2 and iPod Touch 4th gen. It runs nicely on all three, but I've been worrying about the older gen iPhones and iPods. Hearing what you've said is therefore encouraging.

-Tim