AS3 Efficiency & Optimisation tricks

20 03 2009

Found some truly excellent resources on this (Thanks to Gibo & Mike for the links):

I’ve been trying to save some of these little loops e.g. [code lang="actionscript"] list[length] = item; [/code]which for a simple Array push for example is 3x faster than:[code lang="actionscript"] list.push(item); [/code]out as FDT  snippets called arrPush for example so that I don’t even have to remember to use them and the benefits will appear throughout production rather than post optimization whcih can be a pain. In other news, I’ve been spending a lot of time getting used to Fabrication this week and it really is incredibly good. I’ll post something about it in the next fortnight. Happy Friday all :)



PureMVC Forum is ultra useful & friendly

18 02 2009

Pure MVCAbsolutely brilliant forum over at PureMVC. I had some heavy questions today and Cliff & Jason helped me an awful lot with some wide ranging and tricky concepts.  Thanks for the assistance guys :)



PureMVC & Flash Develop basic Kuler API Demo & Source

7 01 2009

I was looking for some basic working examples of PureMVC framework based apps to get my head round the Mediator Interface stuff and found a lovely demo over on Josh Weatherspoon’s blog. I’m not trying to claim I wrote this, just rejigged it so you can use Flash Develop & the Flash IDE not Flex (Hooray!) and if you do too you’ll find this a heck of a lot easier to understand as it’ll compile straight away.  I also updated it for the latest Kuler API (colour swatch generator)

Pure MVC Example

Click the above for a demo & grab the source inc FlashDevelop 3 Project File & bundled non SWC PureMVC libs here.

Cheers Josh, nice one