Macromedia flash 8-developing flash lite 2.x applications User Manual

Page of 94
Device speed and frames per second
61
Optimizing ActionScript
Because of CPU limitations, use the following guidelines when developing ActionScript for 
Flash Lite content used on mobile phones:
Keep the ActionScript as simple as possible.
Limit the number of loops that you use and the amount of code that each loop contains.
Stop frame-based looping as soon as it is no longer needed.
When possible, avoid string and emulated array processing because it can be 
CPU-intensive.
Device speed and frames per second
Among devices that support Flash Lite (as of this writing), most play back Flash Lite content 
at about 8 to12 frames per second (fps). On devices with the slowest processors, the frame 
rate can be as low as 6 FPS; devices with the fastest processors can achieve a frame rate as fast 
15 fps.
During development, Macromedia recommends that you set the document’s framerate to best 
match the playback speed on the target device. This gives you an idea of how your content 
will run on an actual device with limited performance. 
Before publishing your final SWF file, set the document’s framerate to at least 20 fps or higher 
to avoid limiting performance, should the device be capable of a higher framerate.