Image transcoder options in Flex SDK 4

Since version 4 of Flex SDK, when embedding PNG assets using the [Embed] tag, you can specify the compression level of your assets.

It should look like:

[Embed(source="asset.png", compression="true", smoothing="false", quality="80")] public static var pngAsset: Class;

Using this technique can drastically reduce the resulting SWF file size.