Load External JPG from web url

I have the following code to load a relative JPG but I want to load an image from a web url (eg. http://www.bludorange.com/clients/file-links/logo.png not sample.jpg)

How can I do this?

Cheers in advance.

var imageLoader:Loader;

function loadImage(url:String):void {
// Set properties on my Loader object
imageLoader = new Loader();
imageLoader.load(new URLRequest(url));
imageLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, imageLoading);
imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
}
loadImage(“sample.jpg”);

function imageLoaded(e:Event):void {
// Load Image
imageArea.addChild(imageLoader);
}

function imageLoading(e:ProgressEvent):void {
// Use it to get current download progress
// Hint: You could tie the values to a preloader :slight_smile:
}