I'd write you a demo script but I'm new to matrix transformations.
http://livedocs.macromedia.com/l…
http://www.adobe.com/devnet/flas…