From the course: Flash Professional: Shortcuts
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Best practices in ActionScript 3 - Flash Professional Tutorial
From the course: Flash Professional: Shortcuts
Best practices in ActionScript 3
You can increase the performance of your apps by using a few simple AS3 best practices when you're writing code. In the Flash community, there are several experts on ActionScript 3.0 optimization. One in particular is named Grant Skinner. Now I mention that because I'm using some of his code here. So let's go to the first keyframe of the Actions layer and open up the Actions panel. You'll notice that import statement says import com.gskinner.utils.PerformanceTest. If you don't have the exercise files, I recommend downloading this code from this website, because this is a great help in testing the performance of applications. So just go to gskinner.com and then go to the blog and search for the PerformanceTest class. So you should be able to find the class there and then just drag it into the same folder as your FLA and then you can right down the same code here. At the top of the screen, I have a few general notes about optimizing your apps. The first is garbage collection. Garbage…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.