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;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment