I’m using this code to embed an image into my flash file:
[Embed(source=“images/grass01.png”)]
As you all know, if you embed an image, it comes in without any compression at all.
Is there any way to compress this image without having to do it manually? (I have hundreds of images that will be embedded).
I came across this link http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf60546-7ffb.html#WS2db454920e96a9e51e63e3d11c0bf69084-7f90
but I assume this is a flex only thing, as I get an error if I try putting the compression variable in my embed tag.