Tag cloud
See my latest projects
About this site
This site is proudly powered by WordPress. If you like what you see, why not subscribe?
Copyright © 2008 Aaron Russell. All rights reserved.
Wednesday, 30 April 2008

When developing MPU and banner advertising in Flash, designers have to work within strict file size limits. Publishers usually limit the initial load to 30k or 40k (which doesn’t get you much) and sometimes allow a subsequent polite download of a further 50k or 60k (which doesn’t get you much more).
Below are some of the techniques and rules that designers should follow in order to reduce and minimise the file size of their Flash animations.
Try and use as few bitmap images and graphics as possible. Instead use vector graphics imported from Illustrator or drawn natively in Flash. Vectors have a much smaller footprint than bitmaps and are easier to manipulate and animate too.
As above, fonts written natively within Flash are treated as vector shapes so have a small footprint compared to imported bitmap fonts. Using vector fonts adds the flexibility to be able to animate and change the shape and size without losing clarity.
Use stop-motion tweens to animate single shapes rather than using different objects with each key frame. One animated object will have a much smaller footprint than several different objects being used throughout the scene.
If you use the same object or element several times in the animation, use movie clips to animate that object and then reuse that movie clip where necessary. Also, if you do need to display bitmap images do so on the fly using movie clips to keep your file sizes down.
Ensure ‘Compress movie’ is ticked as this dramatically affects the published file size. However, make sure you check your animation to ensure this doesn’t adversely affect it. Also you may want to untick ‘Export hidden layers’ to ensure no unnecessary layers add to the overall file size. Finally optimise the ‘JPEG quality’ setting to find the happy balance between quality and compression.
Sometimes that MPU animation really needs to be hammered about to get it under the 30k threshold and it can require some creative thinking to achieve that. If you have any creative techniques you use for reducing file size, especially any that useActionScript, then I’d love to hear about them?
Thanks for this Aaron. While I don’t create banner ads, I do produce other Flash components for websites, and it’s useful to remember the things that keep file size to a minimum (without losing quality). Less is more!
Tracey - No problem, thanks for stopping by and commenting. Make sure you stop by when your new site is launched so I can have a look around.
When using jQuery, have you ever wondered how to test whether an element exists using a selector? It’s not as simple as it seems so I thought I’d share how it’s done here.
Ten weeks since beginning self employment and my life has changed beyond recognition - sometimes for the better, sometimes for the worse. What can I tell you about being a freelancer? What’s it really like?
When I began this blog earlier this year, I made a few pledges to myself: to refrain from personal posts; to keep to a regular posting pattern; and not to mention it if I slip from that pattern. Today I throw out the rulebook.
The backlash towards table-based design has become so passionately fought over that web designers can forget that tables still play an important role in modern web design.
Many of you that have followed me for a while will know that I’ve always combined my freelance work with full-time employment. Well guess what?
This site is proudly powered by WordPress. If you like what you see, why not subscribe?
Copyright © 2008 Aaron Russell. All rights reserved.