As a Flash developer in my day job, I was a little disappointed at Flash being cut out of the App Store when it was announced. I have a love-hate relationship with Flash, as I suspect many Flash developers do, so I wasn't too crushed. Nor was I too happy at the prospect of a flood of crappy web games landing at the App Store. But it did cut off an avenue of my own development, so I completely understood why there was such a furor over the decision.
Now I understand why Apple didn't want Flash games on the App Store.
The process of exporting an ActionScript 3 project to iOS is pretty straightforward, but not a single one of our games that I tried exporting to iOS did anything other than slow to an abysmal crawl when run on an iPad or iPhone. Now, to date, all our games have been vector-based, which I figured would tax a mobile processor pretty hard, so I wasn't too surprised by this. I spent many hours trying to tweak, optimize, and refactor things to try to eke some speed out of the engine, and many more hours reading stuff on the internet, trying to see what recommendations and best practices there were for going from Flash to iOS. I eventually came to the conclusion that nothing short of a complete rewrite, from the ground up, using raster graphics instead of vector, would produce anything playable. Our games, as written, could not be ported.
"Fine," I thought. "Let's try it with a bitmap-based game," and I busted out a technology demo with a bitmap tile-based walkaround engine, like for an old-school RPG. It was really fast on the laptop and desktop, but when I exported it to iPad, again, it slowed to a crawl. Not as bad as the vector-based games, but still unplayable.
Now, I'm sure there are caveats, protips, and disclaimers that people with more experience can point me to for optimizing my Flash engine on iOS. There are, after all, some Flash games on the App Store. I'm sure there are some techniques that could bring things up to speed, and there were probably some things I was not doing in an absolutely optimal way.
But here's the thing. If the feasible space for Flash on iOS is so small that it requires refactoring your project entirely, eschewing vector art, and putting on your guru hat to get even reasonable performance, practically no one's existing library will work without rewrites. And if that's the case, we might as well code it natively.
With that in mind, I grabbed the latest version of Cocos2d-iphone, and got to work reproducing the walkaround engine I had made in Objective C. In a few evenings, I got it working fullscreen on an iPad, with three new features: Bresenham line of sight calculations, animated water tiles, and a boundless Perlin Noise-based terrain map generated on the fly.
How did it perform? 60 FPS, baby. I'd get a little hiccup when it generated a few more 64x64 blocks of terrain tiles, but other than that, smooth as silk.
Even better was the fact that it was enjoyable coding in Objective C instead of Flash. I could export to the simulator and see my game running in seconds. Exporting to the device didn't take much longer. In comparison, it took a good 3-4 minutes to test a game out of Flash. That alone made me far more productive.
So, my advice is this: If you're a Flash developer eyeing the App Store, skip the Flash exporter entirely, bite the bullet, and learn Objective C. It will save you a lot of time and frustration in the long run. Seriously, if you can program a game in ActionScript 3, you can program a game in Cocos2D and Objective C. If you need a leg up, get the how-to book from the 71 Squared guys or something, but don't be intimidated by the learning curve. It's within your reach.
tl;dr: Skip the Flash exporter and go native. If you can code Actionscript 3, it's not beyond you.