[web] Flash/ActionScript Performance - Any good reading?

Started by
4 comments, last by Trapper Zoid 16 years, 6 months ago
Recently I've been learning how to develop in Flash. My laptop is in the shop this week getting the screen replaced, so I'm unable to run Flash itself for a few days, but I'm still keen on learning more during the downtime. I'm looking for some good on-line reading for Flash while I don't have my laptop. One thing I'm not sure about from the tutorials I'm working through is methods for tuning performace in ActionScript and Flash. For slow-paced or turn-based games performace isn't as critical, but for anything action based it would be good to know some tricks for what works well. Does anyone have any links they can share on good sites for learning more about what goes under the hood in Flash and ActionScript 3.0, and how to develop efficient programs for Flash? Thanks in advance,
Advertisement
Check out Kirupa and Best Practices at ActionScript.org . These are the only sites I have in my bookmarks so far.

This might also be interesting, nothing to do with performance though:
Tile Based Games in Flash

I'd appreciate it if you could let me know(PM or post in this thread) if you find any other sites.

Thanks.
Just off the top of my head...

http://labs.bigspaceship.com/blog/?p=16
http://labs.bigspaceship.com/blog/?p=26
http://oddhammer.com/actionscriptperformance/set3/
http://www.adobe.com/devnet/flex/articles/as3_tuning.html
Thanks for the suggestions - I'll check them out.

If I find any other interesting sites I'll post them here.
Be careful about versions. The runtime engine was significantly revamped in 9; notable additions include JIT compilation.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
Quote:Original post by Promit
Be careful about versions. The runtime engine was significantly revamped in 9; notable additions include JIT compilation.

I know - I'm a bit hazy on the specifics but I think it's a whole new engine. I know the ActionScript 3 code is run by a different interpreter than ActionScript 1 and 2.

My intuition says that this means some of the hacks I've read about that were used in earlier ActionScript code may no longer be necessary, but some of the more general tips like using strong typing and predefining class variables to give optimisation information to the interpreter still apply.

When I finally get around to optimising ActionScript code I'll have to do some benchmarking of my own, but now while I'm learning the basics it's good to know what bad practices I should avoid.

This topic is closed to new replies.

Advertisement