Smoothing Bitmap

If I use smoothing on an image I loaded via the Loader class the Image doesn’t show up in the browser. It works fine in the Flash Player but not in the browser.


var image = new Loader();
image.contentLoaderInfo.addEventListener(Event.COMPLETE, imageCompleteHandler);
image.load( new URLRequest(_imageUrl) )


public function imageCompleteHandler(event:Event):void {
var img:Bitmap = _image.content as Bitmap;
img.smoothing = true;

image.width = 50;
image.scaleY = image.scaleX;
addChild(image);
}


anyone with any ideas why this image wouldn’t show up?