Solved this little problem the simple way. One of the centralized file sharing applications we’re developing needed some form of branding at the bottom of the screens. The logo bar, 1400 px wide, needs to be resized when the user changes the resolution of the browserwindow.
Without smoothing, things turn ugly and pixelated. With smoothing turned on, everything keeps looking the way it should, even when resized.
<mx:VBox>
<mx:script>
private function smoothImage ( img : Image ) : void
{
var bmp : Bitmap = img.content as Bitmap;
bmp.smoothing = true;
}
</mx:script>
<mx:image id="logoImage" complete="smoothImage(logoImage)" source="images/logo.png" width="100%" scaleContent="true"/>
</mx:VBox>