Frequently Asked Questions
Optimizing Performance
What can I do to improve performance of my application?
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:
Limit your frame rate to something that makes sense. Running at 30 frames per second can be overkill for desktop applications. 12 fps works for most apps and speeds things up tremendously.
When playing in windowless or Flash-shaped mode, mProjector by default calculates the window shape with every frame -- a very computationally intensive operation.
2.) Turn on autotracing (mApplication.enableAutoTrace(true) and make sure your app is running as expected, like an unexpected event loop getting/setting window position.
3.) Think about your window size. The smaller the window the faster is will draw and run.
4.) See if you can optimize your SWF.
http://www.macromedia.com/support/flash/ts/documents/optimizing_actionscript.htm
http://www.adobe.com/support/flash/publishexport/stream_optimize/index.html
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.
