How i can use the code in actionscript 3.0 of Flash?