Sign in to follow this  

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

This topic is 3723 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
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.

Share this post


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

This topic is 3723 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this