Reputation: 19
How to minimize the file size of a bitmap in flash/actionscript.How many ways of doing this?
Upvotes: 0
Views: 429
Reputation: 3652
HI,
If you are using the Flash IDE (Flash CS5 for e.g.) you can set the image quality through the Library Panel.
To do so right click on the bitmap in the Library and select Properties. Then you can set the compression of the image (0-100) and you can see the updated image with the new quality settings. This way you can decrease the filesize of the bitmap which adds up to the compiled swf file's size.
If you load external images at runtime, you can't change the filesize anyway.
I hope it helps, Rob
Upvotes: 1