Loading time is something that all Flash developers and designers must be aware of; a slow loading application could result in the user leaving the site and looking for a more lightweight solution.
In this Quick Tip, I'll show you how to optimize the size of your movie or application in five simple steps.
Step 1: What is Flash Optimizer?
Flash Optimizer is an application which can compress SWF file size by up to 70 percent by using algorithms to handle vectors, shapes, fonts, images and more. You can select the elements or objects that you want to be optimized and even adjust the parameters to meet your needs.
Step 2: Compatibility
Flash Optimizer is compatible with Mac OS X 10.4, 10.5 and 10.6 as well as Windows XP, Vista and 7, and supports Flash Player versions 5 to 10.
Step 3: Features
The following are some of the main features Flash Optimizer can offer:
- Vector, curves optimization
- Sound optimization
- Embedded video compression
- Optimized movie preview
- Configurable optimization settings
- Batch compression mode
Step 4: Where to Get it
You can download a fully functional trial version of the application from the Flash Optimizer website. The limitation of the trial is that it can only export the optimized version in black and white (though in the preview window it will appear in full color).
If you think you can make use of its features, a full personal version can be purchased from $99.95.
Step 5: Optimizing a SWF
Let's test the application using a SWF file, for this example I'm going to use the SWF from my Cropping Application Premium Tutorial which is 106KB.
Open Flash Optimizer and click the Open icon to add a file.
Next, click on the gear icon and select Medium Compression from the list.
Important: For some reason, leaving the Scales option selected removed the ActionScript from the project; be sure to uncheck it if your movie contains code.
Close the presets panel and with your movie selected click the Preview Optimization icon.
A panel showing the optimizations will popup:
Almost 68% of the file was optimized, converting the 106KB into 33KB!
Great, but what about the quality of the output? Let's see:
Just a little detail lost in the crop icon and buttons, but hey 68%!
Once you've done with the changes, click the "floppy disk" icon to save your optimized movie.
Flash Optimizer can save you from hours of exporting in large projects using different tools; give it a try and remember to keep your file size low!
I hope you liked this tutorial, thank you for reading!