Values of dymanic objects

im having a hard time figuring out how to get the [COLOR=Blue]_x,_y,_width,_height[/COLOR] of dynamically loaded images. What do i need to do this; is it possible?

im having everything load into a container Mc.

heres a piece of it

nextBtn.[COLOR=Blue]_x[/COLOR] = [COLOR=Blue]_root[/COLOR].container_mc.[COLOR=Blue]_x[/COLOR] +[COLOR=Gray]//dyamically loaded object[/COLOR].[COLOR=Blue]_width

[COLOR=Black]heres how the images are being loaded

[COLOR=Blue]function[/COLOR] loadphoto(i){
[COLOR=Blue]var[/COLOR] img = [COLOR=Blue]this[/COLOR].container_mc.[COLOR=Blue]loadMovie[/COLOR]([COLOR=SeaGreen]“img”[/COLOR]+i +[COLOR=SeaGreen]".jpg"[/COLOR],8879);
[/COLOR][/COLOR]