File Optimization - How to keep your Flash file small

If it takes too long to load your Flash movie try the following:

To check the size of the Flash file

Press F9 and read the size:

If the Flash file is too large (for example over 1MB) try to optimize it:

  1. Use JPEG format for photos. Flash Designer can export JPEG in native format saving a lot of space. Import photos in JPEG not in GIF or BMP format. If you paste a photo using clipboard it will be exported in bitmap format. You can convert it to JPEG using "Item" > "Image" > "Resave JPEG" command.

    To verify if the image is in JPEG format select it and read the message on the status bar:

  2. Try to decrease frame rate. Higher frame rates produce larger files. Default frame rate is 20 FPS (frames per second). If you are not using sound you can reduce frame rate to 12 FPS. To change the rate choose "Movie" > "Frame Rate".

  3. Try Image Optimization. If you turn it on Flash Designer will covert all non-JPEG images to 8 bit images and reduce the number of colors. To use image optimization switch it on in "Movie" > "Image Optimization".

  4. Use clones wherever you can. If you duplicate a bitmap you should use a bitmap clone instead.

  5. Use MP3 sounds instead of WAV. If you use WAV sound try downsampling it to lower frequency using Windows Sound Recorder. Use mono sound instead of stereo wherever you can. Choose "Movie" > "Sounds" and review all sounds used in the project. Remove unused and unwanted sounds. Choose "Movie" > "Sounds", review all sounds and delete unnecessary files.