Optimizing Performance
Question:
What can I do to improve performance of my application?
Answer:
There are many factors that can impact the performance of your application: system resources, animation, bitmaps, code efficiency, window size and shape.
Here are some ideas on improving performance of your mProjector application:
1.) We recommend following the Macromedia guidelines for optimizing your Flash playback:
Optimizing ActionScript
Optimization Techniques for the Flash Player
2.) When playing in windowless mode, mProjector by default calculates the window shape with every frame -- a very computationally intensive operation.
You can turn this calculation on and off as appropraite with the call mWindow.freezeShape. When you want the window shape to be dynamic call mWindow.freezeShape(false); when the shape is constant call mWindow.freezeShape(true).
3.) Limit your frame rate to something that makes sense. Running at 30 frames per second is overkill for most desktop applications.
If you have additional questions or have ideas on how to improve an FAQ, contact us. Please include a link to the FAQ in your email.