/ Published in: ActionScript 3
                    
                                        
As of revision 11031 of the Flex 4 SDK compression is supported inline with the embed metadata tag.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
[Embed(source="{/path/to/asset.png}",compression="true",quality="90")]
private var ImageAsset:Class;
URL: http://forums.adobe.com/thread/509452?tstart=0
Comments
 Subscribe to comments
                    Subscribe to comments
                
                