Added actionscript 3 mode