Quick and short post. Due to a suggestion from Ryan Ragona I checked out how much resources the circle loader took up and it was pretty unacceptable. I re-wrote the class so that it snapshots the vectors to a bitmap object and rotates that instead of the vectors (vectors are now never even added to the display list)
CPU usage on my dual 3.2 went from 11% to 1%. Quite a difference. I would strongly encourage you to re-download it if you plan to use it. (I also updated the original link)
Download V2 (300Kb) (3909 downloads)


July 22nd, 2008 at 7:22 am
Great website!! congratulations! Your jobs and lab archives are very inspiratory!
July 24th, 2008 at 6:25 pm
Great job Erik! I should mention, you’re an amazing programmer and I’ll probably ask you for more AS3 help than CSS - you seem to be amazing at what you do :).
July 29th, 2008 at 8:34 am
Good one. Post more good stuffs!!!
November 5th, 2008 at 6:31 am
Hi,
excuse me but i’m not able to make it work as preloader for external swf…i’m able to isolate the snake circle but i don’t understand how can i use it as preloader…can u post the code please??
example: (AS3) first the snake circle… then url request for external swf
thank u
August 6th, 2009 at 8:53 pm
Very nice. Just discovered this one. I am tweaking it into a gradient fill for a pie-chart (ooh how exciting) that will last all of one second. This means that the radius of the main object is almost the same as the diameter of the reiterated balls…
private var _curRad:int = 100;
private var _curInner:int = 99.5;
in other words less a snake than a big ball redrawing itself…
August 6th, 2009 at 8:57 pm
Make that
private var _curRad:Number= 100;
private var _curInner:Number= 99.5;
November 14th, 2009 at 11:59 am
Eric thanks for posting this, I have been looking for one of these for the last three hours and couldn’t find a good one. I really wasn’t looking forward to having to put my project on hold for day to build it myself. Thanks Again man.