Recently Added
Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | No Comments
Two quick formulas to reverse properties of objects while preloading (eg. big to small)
Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | No Comments
Setting up loader, listeners and preloader to load images; get the loaded content property information; 2 methods to smooth bitmaps that are loaded.
Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | No Comments
Re-using the same loader to prevent chaotic nesting when loading flash movies into other swf files. Deleting the existing content so its no longer there (quickly – listeners not removed will still be an issue).
Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | No Comments
Tracing Up, Down, Left & Right arrow keys easily with ActionScript 3.
Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | No Comments
AS3 Preloader within the movie itself – can be useful; or not.
Posted by thornyeternity in ActionScript 3 Snippets on 01. Apr, 2009 | No Comments
Reversing properties in a seamless loop – old code.
Posted by thornyeternity in ActionScript 3 Snippets on 31. Mar, 2009 | No Comments
Easy AS3 code to space and align items (such as sprites, movie clips, etc).
Posted by thornyeternity in ActionScript 3 Snippets on 31. Mar, 2009 | No Comments
Quick over-view of implementing the excellent Tween Classes written by the GSkinner.
Posted by thornyeternity in ActionScript 3 Snippets on 31. Mar, 2009 | No Comments
This DOESN’T WORK unless you add FlashVars to the Javascript part of the HTML as well. Find the “AC_FL_RunContent” function and add the following line to the middle of the list of parameters: ‘FlashVars’, ‘myURL=http://weblogs.adobe.com/’,
Posted by thornyeternity in ActionScript 3 Snippets on 31. Mar, 2009 | No Comments
Good formula for random rotation of object without going to far to either side: box_mc.rotation = (Math.random()*2-1) * 180/Math.PI;