How do I get the width of an image create by loadMovie?

I’m creating an empty clip “image_mc” and loading an image into it via XML. The image is appearing fine, and the alpha is working too. But when I try to trace the width of image_mc, it keeps returning “0” – and what I’m really after is the width of that image I’m loading!

Code looks like this:

newItem.picture_mc.createEmptyMovieClip("image_mc", 4);
newItem.picture_mc.image_mc.loadMovie(allData*.firstChild.firstChild);
newItem.picture_mc.image_mc._alpha = 50;
trace(newItem.picture_mc.image_mc._width);

Anyone know how to get the width of the image that’s being loaded?

:pirate: