H  40  40.1  41  42  43  44 

Hands-On: Flash MX 2004 Publishing

Final Tips for Optimizing Your Movies

  1. Use Symbols.
    Artwork turned into symbols can be used over and over again and only have to be downloaded one time.
  2. Use Solid Lines wherever possible.
    Avoid dashed, dotted, and jagged lines when possible, each segment will be tracked as an individual item when published. Jagged lines can add 100 times more bytes to the file size over straight lines.
  3. Use Alpha sparingly.
    Alpha (transparency) will not add to the file size, however is can impact playback performance. Try not to stack alpha on top of one another too.
  4. Use Gradients sparingly .
    Gradients are not as serious a threat as alpha, but it can also slow down performance.
  5. Use the Optimize command on your vector artwork and sound files.
    By selecting the Modify > Optimize command, you can reduce the file size of your movie.
  6. Use Vector graphics rather than bitmaps wherever possible.
    Vector graphics are usually significantly smaller than bitmaps.
  7. Be aware of complex objects in animation.
    The more complex and animation, the slower the performance of the page.
  8. Use device fonts where appropriate.
    With Device Fonts, Flash MX 2004 will not embed the outlines for your movie’s fonts; it will display the font of the user’s machine that is closest to the specified font, thus saving file size.
  9. Be cautious of looping streaming sound.
    When the sound’s Sync option is set to Stream, it will play the sound at the same rate the animation is played. If you loop Streaming Sounds, Flash MX 2004 will multiply the file size by the number of times you loop the sound, it actually will add frames to the Timeline to accommodate your settings.
  10. Use the Load Movie command.
    Rather than creating one really huge movie file, you could create several smaller .swf files that can load with the Load Movie command when requested by the user, such as clicking on a button.
  11. Use the generate Size Report feature.
    This report can help you identify places where you may be able to reduce your file size.

 

Back to Top