Forum Topic: File size far too big?

(175 views • 10 replies)

This topic is 1 page long.

<< < > >>
NickabockaglorySpoon FAB LEVEL 08

Sign-Up: 06/03/09

Posts: 33

I've been working on a game and I was going to upload it to spamtheweb to get a bit of advise from the flash forum. I've just noticed the size of the .swf is 15MB! The size of the .fla file is only 9MB and all there is in the game is the engine and some basic pixel graphics. Any idea why this is? I've always thought the .fla was bigger than the .swf. Cheers for any help.

A good friend would bail you out of jail, but your best friend would be the one sitting next to you saying, "damn that was awesome".

QUICK, GO HERE AND TEST THIS


None

LonLonRanch

Reply To Post Reply & Quote

Posted at: 6/25/09 04:37 PM

LonLonRanch LIGHT LEVEL 17

Sign-Up: 05/22/05

Posts: 320

Check the sound files your using, usually that will add a lot of filesize if you don't optimize your audio beforehand.


NickabockaglorySpoon FAB LEVEL 08

Sign-Up: 06/03/09

Posts: 33

Cheers but there isn't any sounds at all. There isn't any image files or anything either. I'm using CS3 if that makes a difference.

A good friend would bail you out of jail, but your best friend would be the one sitting next to you saying, "damn that was awesome".

QUICK, GO HERE AND TEST THIS


NickabockaglorySpoon FAB LEVEL 08

Sign-Up: 06/03/09

Posts: 33

Anyone else know anything that could help?

A good friend would bail you out of jail, but your best friend would be the one sitting next to you saying, "damn that was awesome".

QUICK, GO HERE AND TEST THIS


None

knugen

Reply To Post Reply & Quote

Posted at: 6/25/09 07:22 PM

knugen LIGHT LEVEL 35

Sign-Up: 02/07/05

Posts: 4,663

Go to File > Publish Settings > Flash (tab), and check "Generate size report". That will create a text file in the same folder as your .swf when you export the movie, and it contains very detailed information about the size of every object in your flash. With the help of that you should be able to find the cause.

It does sound really weird though that the .swf is bigger than the .fla, unless you embed some external resources it shouldn't be possible really.

NickabockaglorySpoon FAB LEVEL 08

Sign-Up: 06/03/09

Posts: 33

At 6/25/09 07:22 PM, knugen wrote: Go to File > Publish Settings > Flash (tab), and check "Generate size report".

Thanks a lot, that really helped. I never knew you could do that. I think it's so high because I embedded a few fonts. Any idea how I undo that? That would be great.

A good friend would bail you out of jail, but your best friend would be the one sitting next to you saying, "damn that was awesome".

QUICK, GO HERE AND TEST THIS


NickabockaglorySpoon FAB LEVEL 08

Sign-Up: 06/03/09

Posts: 33

OK I figured it out. You click 'don't embed', who'd have thought? Cheers anyway.

A good friend would bail you out of jail, but your best friend would be the one sitting next to you saying, "damn that was awesome".

QUICK, GO HERE AND TEST THIS


None

Super-Yombario

Reply To Post Reply & Quote

Posted at: 6/30/09 05:08 PM

Super-Yombario FAB LEVEL 06

Sign-Up: 03/16/07

Posts: 1,177

DO NOT EMBED TONS OF FONTS. BIG NO-NO.

If you HAVE to use ninety different fonts then offer a download and tell them how to install it or something. Otherwise, try to use default fonts.

RIP Ed McMahon - RIP Farrah Fawcett - RIP Michael Jackson
But wait, there's more...
RIP Billy Mays


NickabockaglorySpoon FAB LEVEL 08

Sign-Up: 06/03/09

Posts: 33

At 6/30/09 05:08 PM, Super-Yombario wrote: DO NOT EMBED TONS OF FONTS. BIG NO-NO.

Yeah, I've learnt my lesson. The little demo I made went from 15MB to 116KB when I removed the embedded fonts. That's a little bit better.

A good friend would bail you out of jail, but your best friend would be the one sitting next to you saying, "damn that was awesome".

QUICK, GO HERE AND TEST THIS


None

Super-Yombario

Reply To Post Reply & Quote

Posted at: 6/30/09 08:22 PM

Super-Yombario FAB LEVEL 06

Sign-Up: 03/16/07

Posts: 1,177

A little bit? The fonts you had in there were like, 100 times the file's actual size!

RIP Ed McMahon - RIP Farrah Fawcett - RIP Michael Jackson
But wait, there's more...
RIP Billy Mays


Shouting

Bezman

Reply To Post Reply & Quote

Posted at: 6/30/09 08:26 PM

Bezman FAB LEVEL 29

Sign-Up: 08/16/01

Posts: 2,768

There's an issue though - without embedding the fonts, other folk will not necessarily see the same stuff as you, so your considerations regarding layout and typography can be rendered useless.

Remember that you can embed sections of fonts - e.g. for a score, ember the numerals.


All times are Eastern Standard Time (GMT -5) | Current Time: 12:57 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!