How to minimize the file size of a bitmap in flash/actionscript.How many ways of doing this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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