Action Script 3 Simulation