I still genuinely want to work on this Flash game idea, but it’s slow going and I have much less time than I expected. I’ll recap two learnings and a screenshot.
1. You can’t subclass Array. this[0] is null!
2. flash.display.Sprite outperformed its Flex equivalent by a factor of at least 6x — that is to say, my debug build runs at my 60fps target, while the old one ran at 10. Sad!

I didn’t say it would be MUCH of a screenshot.
By Psychochild May 24, 2010 - 12:24 pm
I’m no AS3 expert, and thus could be completely wrong, but if you’re not doing much with your sprite to transform it you might try setting the cacheAsBitmap property to true to some speed increase. I wonder if the Flash verison is doing this for you automatically to get the speed increase.
As I said, entirely possible I’m wrong. Just a thought.
By Tachevert May 24, 2010 - 7:13 pm
I was hoping not to jump into optimization yet, when my problems are more of the scope like “I’m a big old Flash noob.” But that said, I couldn’t really test a physics-based puzzle game at 10FPS, either. With any luck, a couple of well-positioned toggles (like cacheAsBitmap — thanks!) will bail out my lack of leet skillz.
By WorldIV.com » If you Love Something, set it Free… December 1, 2010 - 11:25 am
[...] been blogging about a side project that I’d been tinkering with. Basically, I was inspired by a CG movie [...]