//create a new loaderthis.loader =newLoader();
//tell the loader where to find the picturethis.loader.load("http://somewebsite.com/image.png");
//when the loader finishes loading, call the function 'onLoadComplete'this.loader.addEventListener(Event.COMPLETE, onLoadComplete);
//===================================================publicfunctiononLoadComplete(event:Event):void { //adds the image to a movieclip container//===================================================//create movie clip containervar thumbnail:MovieClip=newMovieClip();
//add image to container
thumbnail.addChild(this.loader);
}