Update: I’ve created an update to this class that uses the UILoader component, if you want to see that version go here: http://marianomike.com/2009/03/13/as3-image-load-class-11/
Here’s another one. This is an image loading class using the Flash UI preloader component. The image fades in when loaded. Source contains class .as file.
To instantiate in fla:
import com.marianomike.imageLoad;
var image1:imageLoad;
var image:String = "http://farm3.static.flickr.com/2235/2319247093_e3f51ecca8.jpg?v=0";//path to image
//new imageLoad(path, fade time, background color, width, height, line thickness, line color, show drop shadow);
image1 = new imageLoad(image, 1, 0x000000, 500, 333, 2, 0x333333, false);
addChild(image1);