How to grab the width of a movie clip that is created in AS

Hi, I was wondering how I go about grabbing the width of a movie clip created and positioned in AS, it starts off empty, and then externally loads an image file into itself, depending on what the user selects, so the width can be changed numerous times throughout the life of the viewing…, do I have to grab the incoming image’s Width? becaue when I go

“varDynamicTextBox = movieClip1._width”

the dynamic text box shows “0” as the width, all the time, even after the image has been changed.

I have created the movie, and loaded the image externally with the following code:

_root.createEmptyMovieClip(“movieClip1”,1);
movieClip1.loadMovie(“image1.jpg”);

so I am needing to get the width of the movie clip after the image has been loaded into it…, or if possible the width of the incoming image itself after it’s loaded into the movie…

Also…, could someone tell me how to grab the width of the complete Flash movie? I was thinking it would just be _root._width, but it seems I am wrong lol

The reason I am needing the width’s of the flash movie, and the movie clip is for dynamic centering of the images as they are dynamically loaded… so no matter the width the image is centered…, I tried this:
Note - my Flash file is 490px wide, therefore I am using the value 490 directly

movieClip1._x = ((490 - movieClip1._width)/2);

for centering it, but like I said, I get “0” as the width of the movie clip because I guess when it is loaded it has no width…, and I am looking for the width of the flash movie file itself for the purpose of having reusable code.

Any help would be great, thanks.