I've been using FLash *lightly* for a couple of years and now I'm getting more into it. I've done a couple of 'cute' things but I'd like to figure out what elements make the file size larger. Obviously when you add anything it's larger, but I'm sure some things (eg graphics) have a greater impact.. maybe scripting? Text?
so- Flash gurus- HOW DO YOU KEEP FILE SIZES SMALL? any general knowledge, tips, tricks
1)Clean out your library of any unused items. 2)Try to stay away from rastor graphics. 3)Use movie clips for anything redundant. 4)Use vector text and try and keep the anchor points of your vector shapes to a minimum. 5)Tween whenever possible instead of frame by frame.
actually korkus2000, cleaning out your library will do nothing to reduce file size when exported as a .swf...flash's library is very similiar to the real thing, you take only what you need...you can have 100 images in your .fla library, but when you generate the .swf it only pulls out the files you use in your animation....
the best (and most difficult) way to do your animations is to avoid tweening altogether and use actionscript...here is a link to get you started...:
How does TEXT affect it? This is going to seem REALLY contorted; but I have noticed that if I create text in CorelDraw, export it as a swf, Import into Flash and manipulate that, the file size is smaller (?maybe) It may be something unrelated I'm not considering.
The other thing I have to work on is BREAKING UP FLASH. I have some Flash templates we purchased a while back- they're whole site templates ALL in 1 Flash file! I'm trying to learn to break it up so it will load in a reasonable time.
If you have a large amounts of static text, using the "device fonts" option will use the font from the user machine, rather than embed the font in the SWF. Just be careful you use a very common font - Verdana, Arial, etc.
Using few fonts generally will also lighten the SWF.