Hi Matt,
That's a pretty big difference (~30% for the EXE), for exactly the
same functionality.
I assume you are creating the EXEs (projectors) using the standalone
players.
Standalone player creates EXE files by appending the SWF to its own
executable and then appending 8 more bytes.
So, ExeSize = PlayerExeSize + SwfSize + 8.
Obviously v8 player can play a v8 SWF, so creating an EXE with v9 player for
a v8 SWF will make the EXE unnecessarily big, because player EXE size is
increasing with every new release.
But, it's not that simple. Standalone player, when creating a projector,
decompresses the SWF first if it's compressed.
So really, ExeSize = PlayerExeSize + UncompressedSwfSize + 8.
To get the EXE size down, you can,
(0) Use the standalone player which has the same version as the SWF as it
will be the smallest. (One exception can be using v6 Player for a v5 SWF if
you want to use the compressed SWF).
(1) Compress the standalone Player with an executable compressor (like UPX).
(You can also compress your final EXE but that doesn't change the result
much and becomes a hassle to do every time).
(2) Append the compressed SWF to the Player. You'll need a 3rd party utility
for that. (Player v6 and above only, v5 and below cannot play compressed
SWFs).
Best regards,
Burak
www.asvguy.com
----- Original Message -----
From: "matt stuehler" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Wednesday, August 22, 2007 11:25 PM
Subject: [Flashcoders] Should Flash CS3 Pro result in larger SWF and
EXEfiles than Flash 8?
All,
I recently switched from Flash 8 Pro to Flash CS3 Pro.
I just noticed today that my published SWFs and EXEs are considerably
larger when I publish them with CS3 than they were when published from
F8, even though the FLAs are the same.
In other words, I took an FLA that was saved as a CS3 file. When
published, the SWF was 980kb, and the EXE was 3,423kb.
I saved the FLA as a Flash 8 file (since it doesn't us AS3 or any CS3
functions), republished, and the SWF was 879kb and the EXE was only
2,434kb.
That's a pretty big difference (~30% for the EXE), for exactly the
same functionality.
I can live with the Adobe bloat in the CS3 IDE, but I didn't think
that it was going to cost me in terms of the resulting SWF filesize.
Has anyone else noticed this? Am I making a mistake, or missing a
publish option?
Many thanks in advance for your advice and insight.
Cheers,
Matt Stuehler
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com