Return to Snippet

Revision: 48135
at June 24, 2011 10:57 by mixfm


Initial Code
package
{
	import flash.display.Bitmap;
	import flash.display.Sprite;
	public class Example extends Sprite
	{
		[Embed('your-image.png')]
		private var ImageAsset	: Class;

		public function Example()
		{
			var i:Bitmap = new ImageAsset() as Bitmap;
			addChild( i );
		}
	}

}

Initial URL
http://blackglove.com.au

Initial Description

                                

Initial Title
Embedding Image in Flash Builder AS3

Initial Tags

                                

Initial Language
ActionScript 3