Here is the article w/ code.

http://www.flashtreasures.com/Forum/viewtopic.php?t=2