HomeAbout

LcBroadcast

From the site:

LcBroadcast provides an easy mechanism to broadcast messages to different instances of the flash payer running on local machine. It addresses a limitation of the localConnection object, in that localConnection must know the connection name of each instance to communicate with.

http://www.freesome.com/lcbroadcast

Combinator

From the site:

The usage of Combinator class is very simple. It takes the input array of items and defined size (combination number) of combination arrays that can be produced in a loop.
Suppose we need to generate all three-number combinations from numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. We put them in array, instantiate the Combinator and call its next() method in a loop until there are no combinations left.

http://lharp.net/post/array-combinator/

Permutator

From the site:

A time ago I wrote about the Array Combinator ActionScript class for generating all combinations of items from an input array. Now I have revisited the API with the abstract Generator class and also added a new class for generating permutations of items from the input array - Permutator.

http://lharp.net/?p=16

AdvancedColor

The AdvancedColor object essentially extends the built-in Color object by adding the ability to specify color for a movie clip in any of the RGB, HLS or HSV/B color spaces. It also provides static methods that allow direct conversion between color spaces.

http://natecook.com/downloads/color.html

SPrintf

ormatted strings are a real convenience—one that is sorely missing from the Flash Actionscript library. This adds in the sprintf functionality, which lets you reduce something like this:

Actionscript:
  1. var m,d;
  2. var myDate = new Date();
  3.  
  4. m = myDate.getMonth() + 1;
  5. if (m <10)
  6.     m = '0' + m;
  7.  
  8. d = myDate.getDate();
  9. if (d <10)
  10.     d = '0' + d;
  11.  
  12. trace(m + '-' + d + '-' + myDate.getFullYear());
  13. // traces out: 02-14-2004

into basically a single line of code:

Actionscript:
  1. var myDate = new Date();
  2. Sprintf.trace('%02d-%02d-%4d',myDate.getMonth() + 1, »
  3.     myDate.getDate(),myDate.getFullYear()));
  4. // traces out: 02-14-2004

http://natecook.com/downloads/sprintf.html

ClassFinder

A class used to get references to class constructor from a string, and vice versa.

http://dynamicflash.com/2005/03/class-finder/

Delegate

Improvemnt on Macromedia's Delegate that allows it to pass additional arguments, and also a reference to the delegate function that was created.

http://dynamicflash.com/2005/02/delegate-class-refined

Base64

From the site:

The Base64 class can encode String or ByteArray objects to Base64 encoding, and vice versa.

http://www.dynamicflash.com/goodies/base64

PriorityQueue

http://shockwave-india.com/blog/?archive=2004_07_01_archive.xml#109038436727337119

XMLHightlighter

Use the methods and properties of the XMLHighlighter class to generate the html code to generate color highlighted pretty printed XML.

http://www.shockwave-india.com/blog/actionscript2/?asfile=XMLHighlighter.as