Sunday, June 24, 2012

Useful tool: Size report



What you will learn
• How to generate size report of flash movie.
• How to check size of each object, on each frame.


Hello readers,

After a couple of months, i came here with couple of articles.
Here we will see, how to generate size report of flash movie.
Size report is one of the important feature of Adobe Flash. As Your flash movie contain lot of objects, sound, movieclips, bitmaps, graphics, embedded text, actionscript code. Each object allocates its size in swf file. By generating size report, you will get detailed information about size of each object used in fla. Size Reports allow you to troubleshoot and find the elements in your swf movie that causes an increase in the overall file size. Which could be help you to optimize flash file size.

How to publish size report
To publish a Size Report
  1. Go to File > Publish Settings.
  2. Click on the Flash Tab.
  3. In the Flash tab go to Advance section and select Generate Size Report.
  4. Click on Publish to generate a size report Or Click OK to get out of the Publish Setting Dialog.
  5. Come to your folder where Fla files are being saved and locate the size report document “Fla file name”+ Report.txt.
  6. Open the size report by double clicking.
  7. After compiling flash movie, you will notice the size report is being generated in output panel.
Figure 1. Size Report in Publish Settings.



The report contain following sections,
  • Frame: This explains how much size each frame contains.
  • Scene: This explains how much size each object contains in that scene.
  • Symbol: This section explains file size of all the MovieClips, Buttons and Graphic Symbols in file. This section also lists any components that used in file.
  • Font: This section lists embedded fonts and their glyphs used in the file. You will get size of font, name of the embedded font and the characters in that font that are available.
  • ActionScript: This section shows the size in bytes of any actionScript in file.
  • Bitmap: This is a very useful section to check if you are embedding any bitmaps in file. Here you will get the name of bitmap in library panel. Original file size, Compressed file size and Compression ratio of JPEG Quality.
Hope this will help you to enjoy Flash and ActionScripting.