AIR SDK: Performance of SWF Compiled into Native iOS Application
The good thing is that you can compile the SWF into your own iOS app. I think AIR is now a better option for writing eg. small games or interactive books. Because of the application, AIR will be slower than an application written for example. Objective C. The question is how slow the AIR application will be. You can run simple AIR applications like. on iPhone 3G or iPAd 1?
And one more question: can an arbitrary Flash app be compiled into a native iOS app?
We will be grateful for any thoughts !!!!!
source to share
- AIR vs Objective C performance:
For pure script execution, AIR applications are slower than native ones, including on iOS. However , in almost all cases the limiting factor in the performance of your application will be rendering, not script, so it depends entirely on what you are doing visually in your content. That's why Crooksey suggested you take a look at Starling. Without Starling (or similar libraries that use GPUs), it's pretty hard to get decent performance out of the iPad1. It can be done, but it takes experience and requires additional work. It would be much better to start with a huge performance boost using Starling or similar.
- Can an arbitrary Flash app be compiled into a native iOS app?
While it is running with AS3, it should compile. Two main caveats come to mind as to whether this works: First, several APIs don't work on mobile devices. (I think printing is one example.) Second, if you read in any SWF files at runtime, all actionscript inside them will be ignored. (Not for technical reasons, this is an Apple requirement.) So if your content is broken into a bunch of SWFs, you need to chain them together at packaging time, and if you absolutely depend on reading into SWF with a script from the web at runtime, you are going to hit the wall.
Hope it helps!
source to share
Check out the new Starling shot.
This is where a good series of lessons starts (episodes 1 and 2)
http://www.hsharma.com/tutorials/
Lee Brimelow also has several textbooks
As far as converting flash apps to iOS compatible apps, yes, it is possible, but it depends on what the app actually does, whether or not any changes are needed before it works correctly on the device.
source to share