Flash SWF File Size

Posted on 2011-10-07
Last Modified: 2012-05-12

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!

Question by:Coobakai
    LVL 29

    Expert Comment

    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
    LVL 16

    Expert Comment

    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.
    LVL 8

    Accepted Solution

    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.

    Author Comment

    Thanks for all the suggestions... I'll let you know how it goes.

    Author Comment

    I tried all three solutions and the one that worked best for me was the one offered by Jen0910. Thanks to all who responded.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
    Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
    In this tutorial viewers will learn how to create a vector texture to apply a non-rasterized texture to vector images, using Photoshop and Illustrator Open a textured image such as a scanned-in piece of cardboard in Photoshop: Convert the texture to…
    The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now