homepage Welcome to WebmasterWorld Guest from 54.211.213.10
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Keeping FLASH files SMALL
What dictates file size?
jennij




msg:1564338
 6:28 pm on Jun 12, 2003 (gmt 0)

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

 

korkus2000




msg:1564339
 6:31 pm on Jun 12, 2003 (gmt 0)

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.

jeremy goodrich




msg:1564340
 6:33 pm on Jun 12, 2003 (gmt 0)

Something about the way you have the movie load can make a huge difference...the flash file is partly loaded, then starts, and then the rest is downloaded after the fact.

That way, the user doesn't have to wait for the flash / animations to start - they get the more immediate visual satisfaction, without the long wait typically associated with the format.

However, I don't know how this is done - only that is the way my wife gets the files to load quicker. :)

<added>
korkus2000 has a much better idea of it - lol
</added>

vapor




msg:1564341
 3:26 am on Jun 13, 2003 (gmt 0)

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...:

[philterdesign.com ]

jennij




msg:1564342
 1:23 pm on Jun 13, 2003 (gmt 0)

Wow! Nice resource.

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.

Caimin




msg:1564343
 9:54 am on Jul 2, 2003 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved