Device Speed And Frames Per Second; Optimizing Actionscript - MACROMEDIA FLASH 8-DEVELOPING FLASH LITE Develop Manual

Developing flash lite applications
Hide thumbs Also See for FLASH 8-DEVELOPING FLASH LITE:
Table of Contents

Advertisement

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.

Device speed and frames per second

61

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-DEVELOPING FLASH LITE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents