Actionscript code

TwitterFacebook
Get flash to fully experience Pearltrees
http://www.everyday3d.com/blog/index.php/2008/05/28/rotating-a-sprite-around-any-point/ Click once to activate, then click anywhere to move the registration point.

Rotating a Sprite around any point - Everyday 3D

http://code.google.com/p/hexagon/source/browse/trunk/hexagon/src/hexagonlib/flash/com/hexagonstar/display/bitmaps/AnimatedBitmap.as

AnimatedBitmap - hexagon

My favorites ▼ | Sign in Project Home Downloads Wiki Issues Source Show details Hide details
http://www.rblab.com/blog/2011/02/as3-snippet-get-points-around-circumference/

Points around circumference

/** Distribute the points clockwise around the circle. */ public static const CLOCKWISE : String = "clockwise" ; /** Distribute the points counterclockwise around the circle. */ public static const COUNTERCLOCKWISE : String = "counterclockwise" ; /** * This method accepts arguments based on the size and position of your circle * along with the amount of points to distribute around the circle, * what angle to start the first point, which direction to plot the points, * how much of the circumference to use for the distribution, and which direction * around the circle to plot the points. * @example example: * * @param centerx The center x position of the circle to place the points around. * @param centery The center y position of the circle to place the points around. * @param radi The radius of the circle to distribute the points around. * @param total The total amount of point to distribute around the circle. * @param startangle [Optional] The starting angle of the first point.
The magic of creating a preloader in ActionScript 3 lies in the LoaderInfo class.

Preloader

http://blog.anselmbradford.com/2009/06/20/how-to-build-an-object-oriented-actionscript-3-preloader-in-flash-cs4-2-methods/
http://www.asual.com/swfaddress/ SWFAddress is a small but powerful library that provides deep linking for Flash and Ajax.

Deep linking