Jpeg Quality in Embed Metadata Tag

/ Published in: ActionScript 3
Save to your folder(s)

As of revision 11031 of the Flex 4 SDK compression is supported inline with the embed metadata tag.

Copy this code and paste it in your HTML
  1. [Embed(source="{/path/to/asset.png}",compression="true",quality="90")]
  2. private var ImageAsset:Class;


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.