HomeAbout

Inflector

From the site:

The Inflector allows for pluralizing,singularizing,camel casing, underscoring, and humanizing words. I did search for and find an existing inflection class but I decided to port the CakePHP inflector which is more extensive and more accurate. 

 

http://ak33m.com/?p=43 

StringTokenizer

From the site:  

One useful utility in the java.util package is the StringTokenizer class. I was looking for an ActionScript implementation the other day but was unable to locate one. So after determining the level of effort to write a StringTokenizer in ActionScript was minimal, I decided to roll my own.The ActionScript StringTokenizer is a convenience class which provides a simple mechanism from which Strings can be extracted into individual tokens based on a specific delimiter.

http://www.ericfeminella.com/blog/2007/11/01/as3-stringtokenizer/

Inflector

The as3 Inflector class can be used to pluralize or singularize most words. It is essentially a direct port of the Rails inflector class.

http://flexonrails.net/?p=101

LZW

From the site:

LZW is a static class that allows string compression using the Lempel-Ziv-Welch - or LZW - algorithm. It provides good compression with a fast engine that can have split iterations and is ideal to send large amounts of compressible data to a server, like the points that form an image.

http://labs.zeh.com.br/blog/?page_id=97#lzw

StringSearchUtil

From the site:

allows you to pass an ArrrayCollection of objects (custom or generic) into the static method, a ‘term’, and the properties on the objects to search. It then returns an ArrayCollection populated with the objects that contain the term.

http://blog.3r1c.net/?p=56

ASCrypt3

From the site:

This is an ActionScript 3 port of the ASCrypt ActionSCript 2 component available at http://www.meychi.com/archive/000031.php .

It is a group of various Encryption and encoding Algorithms, including:

Base64
Base8
Goald
GUID
MD5
RC4
Rijndael
ROT13
SHA1
TEA
LZW

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

MoneyFormat

from the docs:

* Transforms regular numbers into Currency Format.
* Makes use of the String Class

http://www.lordalex.org/2005/05/moneyformat-class-in-actionscript-20.php

JSON

Use JSON in Actionscript.

http://www.designvox.com/~borys/JSON/JSON.as 

KeyLauncher

Set a function to execute if a user types a given keyword.

http://www.meychi.com/source/actionscript/classes/KeyLauncher.asÂ