Mega Code Archive
Create and manipulate an object that represents the embedded image before passing it to a control
import mx.core.BitmapAsset;
[Embed(source="a.gif")]
[Bindable]
public var imgCls:Class;
public var varOne:String = "This is a public variable";
private function modImage():void {
var imgObj:BitmapAsset = new imgCls() as BitmapAsset;
imgObj.bitmapData.noise(4);
myImage.source=imgObj;
}