hazdog
hazdog

Reputation: 121

Flash: Optimising File Size?

Just wanted to inquire about the optimisation of file size of the FLA file.. Currently, I have a 600kb .FLA file, and the music file for my program at this stage is 3.2mb. However, when I import the music into the library, I end up with a file size of 22mb.

I figure this can't be right. I understand you can just load the sound file externally but I want to have all the data in the one FLA for the sake of ease, as I will be porting my program to iPhone, and low file size is therefore ideal.

Hence, I just wanted to ask about optimising file size? I read about "Save to Compact", however, I am using Flash CS5, and so such an option is not available.

I guess I'm just at loss to understand how a 3MB .mp3 can contribute 21.x megabytes to my FLA file?

Has anybody got tips on reducing this crazy file size?

Thanks! Harry.

Upvotes: 1

Views: 1714

Answers (1)

Moorthy
Moorthy

Reputation: 754

  1. Instead of having multiple scenes, have one scene.
  2. Practice add/remove movieclip when needed/not needed instead of having movieclips in the stage always
  3. Do not have a large number of movieclips in the stage because each movieclip barely occupies 4 bytes of memory
  4. If you are having more small movieclips for decorating your buttons of having filters for your movieclips then replace those with the image.(FYI, You can export image from flash)
  5. If possible try to use FLASH CS6, because it avail sprite sheet concept for animations, it can reduce considerable amount of size of your file and ease of animations.
  6. If possible try to load the sound file from the server to reduce the size. It can take few seconds/minutes and it could be tolerable
  7. Clean the library to delete unused or unwanted graphics or movieclips by Library -> Click on the right most -> Select Unused Items from that popup
  8. Unused items selected and delete those from the library.

Hope this will reduce a considerable amount of size.

Upvotes: 2

Related Questions