The Flash Player has a 12-bit display (thousands of colors) with no alpha support. Bitmaps higher than 16 bits within a Flash movie will be resampled by the Flash Player when deployed. Because of this, whenever possible you should optimize your bitmaps to 16 bits before they are imported into the Flash authoring environment. This guideline will give you more control over the final output as well as help ensure optimum performance.

Bitmap Versus Vector

Because Flash uses vectors to display content in the Flash Player, the processor of the device can be taxed when rendering graphics and animations. In general, the more vector curves being manipulated on stage, the more processing power is required. This fact also holds true for Flash content delivered on desktop machines. However, Nokia 9200 Communicator series devices are far less powerful than desktop machines, and even more care than normal should be given to avoid straining the processor.

When creating content for the Nokia 9200 Communicator series it is sometimes better to use bitmaps as opposed to vectors because vectors can be animated with less processor strain. For example, a vector-based road map of a large city would have too many complex shapes to scroll and animate well on a Nokia 9200 Communicator. A bitmap would work much better in this case.

Using bitmaps will produce larger files, however, so be sure to find the right balance of processor and memory requirements versus file size for the particular project. The current optimization caveats and limitations that exist for designing any Flash application also exist on the Nokia 9200 Communicator series. But on devices, the importance of dealing with these caveats becomes amplified. Because of the smaller screen, slower data transmission speeds, limited memory, and processing power, developers should take extra care in planning and testing.

Setting Bitmap Properties

Two important guidelines to consider when using bitmaps in Flash movies for display on the Nokia 9200 Communicator are as follows:

  • Apply anti-aliasing to a bitmap to smooth the edges in the image to help the display of images on smaller screens. This step improves the display of poorer quality images.

  • Select a compression option that reduces the bitmap file size and format the file for display on the device.

To select bitmap properties, use the Bitmap Properties dialog box by right-clicking on the image in the library and selecting Properties.

Select a bitmap in the Library window and in the Bitmap Properties dialog box (see Figure A.10), select Allow Smoothing to smooth the edges of the bitmap with anti-aliasing.

Figure A.10. Bitmap Properties window.


For Compression, choose one of the following options:

  • Choose Photo (JPEG) to compress the image in JPEG format. To use the default compression quality specified for the imported image, select Use Document Default Quality. To specify a new quality compression setting, deselect Use Document Default Quality and enter a value between 1 and 100 in the Quality text box. (A higher setting preserves greater image integrity but yields a smaller reduction in file size.) A balance and series of trade-offs exist between smaller file size and higher image quality; the same caveats with image quality for desktop system apply for devices, only amplified.

  • Choose Lossless (PNG/GIF) to compress the image with Lossless compression, in which no data is discarded from the image.


Use Photo compression for images with complex color or tonal variations, such as photographs or images with gradient fills. Use Lossless compression for images with simple shapes and relatively few colors.

Developers can also adjust the compression settings globally in the Publish Settings window (File, Publish Settings). To control bitmap compression in the Publish Settings, Flash tab, adjust the JPEG Quality slider or enter a value. As with the compression settings previously described, lower image quality produces smaller files; higher image quality produces larger files. Try different settings to determine the best trade-off between size and quality; 100 provides the highest quality and least compression.


The Flash Player for the Nokia 9200 Communicator Series contains complete support for Flash 5 ActionScript with the following exceptions:

  • getURL The getURL command is not supported.

  • FSCommand FSCommand is not supported with the exception of the FullScreen command and Quality setting.

  • Printing The Flash Player printing features are not supported on the Nokia 9200 Communicator.

Any nonsupported ActionScript commands encountered by the Flash Player when processing a movie will be ignored.

Figure A.11. L.E.D. Football for the Nokia 9200 Communicator series (created by Orange Design).


Because of processing speed limitations, complex ActionScript can severely tax the CPU. If an element of a movie is taking too long to process, a dialog box will appear to users informing them of the problem (see Figure A.12). Users will have the option to disable the processing of ActionScript in the movie. This step will effectively disable the entire movie.

Figure A.12. Error dialog appears when Flash movie takes too long to process.


Because of CPU limitations, developers should keep the following general guidelines in mind when developing ActionScript for Flash movies that will be deployed on the Nokia 9200 Communicator:

  • Keep the ActionScript as simple as possible.

  • Try to limit the number of loops. When running loops, try to limit the amount of actions taken within each loop.

  • When using frame-based loops, make sure to stop the loop when it is no longer needed.

  • String and Array processing can be extremely CPU intensive.

Using the following ActionScript library created by the Flash community can result in significant performance increases: is an ActionScript library that rewrites some of the built-in String functions, resulting in performance increases. In particular, the String.split() method has a significant performance increase. You can download the library from:

The ActionScript XML object for Flash Player 5 has been optimized specifically for the Nokia 9200 Communicator. However, because of the memory and processor limitations of the device, thoroughly test any content that manipulates XML data. This step is particularly important when manipulating large or complex XML documents.

Macromedia Flash Enabled. Flash Design and Development for Devices
Macromedia Flash Enabled. Flash Design and Development for Devices
ISBN: 735711771
Year: 2002
Pages: 178 © 2008-2017.
If you may any questions please contact us: