moving to Actionscript 3.0