Return to Snippet

Revision: 24731
at March 9, 2010 14:40 by aphex


Initial Code
[Embed(source="{/path/to/asset.png}",compression="true",quality="90")]
private var ImageAsset:Class;

Initial URL
http://forums.adobe.com/thread/509452?tstart=0

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

Initial Title
Jpeg Quality in Embed Metadata Tag

Initial Tags
actionscript, Flex

Initial Language
ActionScript 3