Flash SWF File Size


I'm building a set of animated ad banners in Flash CS5 for a client to load in their google adwords account. The max file size adwords accepts is 50KB. Of course the client wants to pack the ads with multiple images, so I'm now in a battle to get the banners compressed below 50 KB.

This is where it get's strange. I had a banner's SWF down to 52 KB. I was close, so I went back into photoshop and compressed the images even more, replaced the images in the FLA, published the movie, and WTF... the file size went up!... 62 KB!

What's going on there? In my experience, the smaller the image size you import into flash, the smaller the SWF file size.

Any help would be appreciated!

Who is Participating?
I have faced this many times with pubs having unrealistic file sizes--sometimes it has been impossible. So, I had to fake it by importing a "dummy" (super, super compressed) image into a MC container, then loading a remote image on my server (of better quality) over the embedded one. It keeps the file size down, and as long as the image you are replacing comes in further along your animation (after your initial intro animation, so it has a couple seconds to load) it works like a charm, you dont notice any image swapping. The "dummy" image is only there in case something goes wrong with the remote load, which I havent come across yet.

This method is not meant for you to be able to remotely load super high-quality images, just better quality than a 50kb limit will allow. You should still keep the remote images as small as you can.
How about if you will load image to Adobe Illustrator or Flash CS 5 (drag and drop) and save as SWF
I most cases file size drops by 50%. And for Flash Player no problem to loading and display those images.
Only to disadvantages:
1)      You will not able to see preview images in your Windows Explorer
2)      You have to convert manually or use some free tools Image2SWF
It may seem counter-intuitive, but try turning off SWF compression in FLASH when you save the SWF file.  Photoshop has already compressed the b*its out of the image, and compressing an already compressed file can often make it larger.
CoobakaiAuthor Commented:
Thanks for all the suggestions... I'll let you know how it goes.
CoobakaiAuthor Commented:
I tried all three solutions and the one that worked best for me was the one offered by Jen0910. Thanks to all who responded.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.