A trip through 2008
Okay, now let me put this straight. I haven’t posted an entry here in ages…
Flash is being used extensively around the web since a long time now. From websites to banners to full-fledge applications, and a lot more. I myself use a lot of flash for all the banners + websites I design. While there are a lot of softwares out there that help you reduce the size of your published flash files (.SWF), there are none that assist you in compressing the size of the source files (.FLA). Although, we can always ZIP the file or maybe take it one step ahead by archiving it in .RAR or maybe the new .ZIPX compression standard introduced by WinZip, what if we wanted to bring down the size of the .FLA file itself?
Here’s how it works: When you import any assets (images, sounds, videos) into the flash environment, it gets saved as part of the file. The more stuff you import, more the file size increases since Flash has to keep it available for immediate use in its library. (I’m sure most designers / developers already know about this) However, when you remove something from the library, the file size does not decrease. This is unknown to most people.
I’ll make it simpler: Suppose you import a 5 MB video file into your Flash movie and save it, you will notice that an additional 5 megs gets added to the original file size of the .FLA. If you import another 5 MB video, another 5 megs gets added. Now suppose, you don’t require video 2 in the flash movie anymore and delete it from the library and continue to save the file, you won’t notice an expected decrease of 5 megs in the .FLA. Ideally the size should reduce, but it doesn’t.
The solution: Go to File -> Save As… Give the .FLA file another name and see the difference in the file size. The unnecessary weight is thrown off and you have a clean .FLA file at your disposal. Simple, isn’t it?
This would make more sense if you are dealing with a flash movie which has huge amounts of assets in it. Like having 15 videos imported in the library and then removing 10 of those, would make a huge difference if you re-save the file.
My fascination with the Indian art of ‘decorating your car’s back…
Just like 2008, 2009 was filled with some of the most glorious moments that make up my…
[...] found this helpful blog post on the [...]
OMG! Thank U! Thank U!
You’re most welcome!
Very useful – my flash file went from 109 megs to 42 megs!
Glad the article was useful to you.
I like your blog — the design & your info both. Thanks.
Thanks for your comment Lt. Uhura.
Sorry but I think that’s why Adobe (originally Macromedia) added a button called “Save and Compact” in the File Menu…. Am I wrong or maybe crazy?
Sincerely,
CLLC
CS5 doesn’t seem to have that option!
mA AVESSI BISOGNO DI ALCUNE DRITTE SU FLASH POSSO STRESSARVI L’ANIMA ?
Grazie
English please.
Nice trick