# Dynamically loading images issue//

**URL:** <https://forum.kirupa.com/t/dynamically-loading-images-issue/30869>\
**Category:** Uncategorized\
**Created:** [September 15, 2003, 3:36pm UTC](https://forum.kirupa.com/t/dynamically-loading-images-issue/30869 "2003-09-15T15:36:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![section14](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@section14](https://forum.kirupa.com/u/section14)\
**Post date:** [September 15, 2003, 3:36pm UTC](https://forum.kirupa.com/t/dynamically-loading-images-issue/30869/1 "2003-09-15T15:36:27Z")

</div>

I’m doing a site where I have a main movie and sub movies that I load using the loadMovie command. In one of the sub movies I want to dynamically load images into a blank movie clip. I can get the images to load if the sub movie is viewed on it’s own but, when the sub movie is loaded into the Main movie the images won’t load. I guess I’m not sure what to replace the “\_root” with. Here’s the code (pic\_holder is the blank clip):

on (release) {  
\_root.pic\_holder.loadMovie(“test1.jpg”);  
}

Since “\_root” always references the Main move I tried the following variations with no success:

on (release) {  
\_parent.pic\_holder.loadMovie(“test1.jpg”);  
}

and

on (release) {  
this.pic\_holder.loadMovie(“test1.jpg”);  
}

thanks
