Macromedia flash 8-developing flash lite 2.x applications User Manual
57
4
CHAPTER 4
Optimizing content for
performance and file size
performance and file size
This chapter provides tips and techniques for optimizing your Flash Lite for file size
and performance.
and performance.
This chapter contains the following topics:
SWF file size and memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Performance optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Device speed and frames per second . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Performance optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Device speed and frames per second . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
SWF file size and memory
The runtime memory available to Flash Lite applications running on mobile phones is limited
and might vary among models. Generally, for mobile phones, this limit is not less than 1 MB.
Because Macromedia Professional 8 does not provide a way to check a phone’s runtime
memory consumption, Macromedia strongly recommends that you test all content on actual
mobile phones.
and might vary among models. Generally, for mobile phones, this limit is not less than 1 MB.
Because Macromedia Professional 8 does not provide a way to check a phone’s runtime
memory consumption, Macromedia strongly recommends that you test all content on actual
mobile phones.
Performance optimization
The CPU speed in mobile phones varies among models and is typically much slower than the
CPU speed in current desktop computers. Therefore, it is important to consider application
performance and optimization from the beginning of each project for creating Flash Lite
content created for mobile phones.
CPU speed in current desktop computers. Therefore, it is important to consider application
performance and optimization from the beginning of each project for creating Flash Lite
content created for mobile phones.
This section contains the following topics:
Animation guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Bitmap graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Optimizing ActionScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Bitmap graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Optimizing ActionScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61