All Test code on actionscript 3.0