Monday, December 04, 2006

BitmapAsset Class

If your using an embeded image in your project

[Embed (source="../assets/scanline.png")]
private var Pattern:Class;


You can use the BitmapAsset Class to add the image.

var b:BitmapAsset=new Pattern() as BitmapAsset;




No comments: