Detect width of a JPG dynamically loaded into a blank movieclip?

Gday my fellow fellows,

Please bear with me, it’s quite early in the morning. Here’s what’s keeping me awake:

I have a blank movieclip: let’s call it [font=Courier New][color=DarkGreen]mcImageHolder[/color][/font].

[color=DarkGreen][color=Black]I dynamically load an external JPG into it, as follows:[/color]
[font=Courier New]mcImageHolder.loadMovie(“penguin.jpg”);[/font][/color]

Now, how on earth do I get the dimensions of this dynamically loaded image?

I thought something like [font=Courier New][color=DarkGreen]mcImageHolder._width[/color][/font] would do it, but it shows the dimensions of [font=Courier New][color=DarkGreen]mcImageHolder [/color][/font]BEFORE the JPG was loaded. That is to say, 0. Which is not incredibly helpful.

I read on another forum that the new dimensions can only be detected on the next frame. This didn’t seem to work for me.

Could anyone please point me in the right direction here? Any advice, money, choc chip cookies, would be extremely appreciated.

Thanks!