Actionscript 3 utility classes