ActionScript 3Optimizing Performance