Jump to content
  • Advertisement
Sign in to follow this  
Trapper Zoid

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

This topic is 4004 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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,

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
Be careful about versions. The runtime engine was significantly revamped in 9; notable additions include JIT compilation.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!