This content has been marked as final. Show 3 replies
"January_jsd" <firstname.lastname@example.org> wrote in message
> I'm still new to Flex3, and I'm glad this is my language of choice, but
> you get passed all the language stuff and compile, you are - sometimes -
> with a fairly large SWF file (a couple of meg, or so).
> How do you reduce this file's size? What are the best ways/tools to do
> I think, and from what I've seen, graphics are responsible for the main
> increases, PNGs especially. I've tried compressing the PNGs, but you
> get more than 10kb to 50kb saving there.
How are you making such huge PNG's? Any image of a size that makes sense
for the web shouldn't be more than a few k in png format. Usually if you
just use the Export settings you get by default in Fireworks when you export
a 32 bit png, you should get a small file. If you're using Photoshop or
something else, you're using the wrong tool for web graphics ;-)
Read up on RSLs :)
Thanks for the tips - think it's just a question of working smarter, not harder (or whatever that phrase is ;) ). My graphics could be reduced to lots of smaller graphics (saving lots of space), and I'd just need add a few more lines of 'clever' to my code.
The main problem with the graphics is that most of them need to be PNG24 for the alpha side of things; if I was using PNG8s, then there wouldn't be a size issue. RSLs do offer an interesting space saving technique - saved over 100k on my first run of it!
Thanks again - useful tips!