Get width of loaded image (MovieClipLoader)

Hi people

I’m loading an external .jpg, and try to reposition it according to the size. Problem is, I can’t seem to get the width or height of the image loaded :puzzle:.

Here’s my code:

var loadImageListener:Object = new Object();
var imageLoader:MovieClipLoader = new MovieClipLoader();
imageLoader.addListener(loadImageListener);
imageLoader.loadClip("image.jpg", mc_holder);
loadImageListener.onLoadComplete = function(){
 trace(mc_holder.width);
};

this will result in an output 0. How come? (note that it does NOT say ‘undefined’ or ‘null’ in the output, just 0)