# How to modify a textbox within the targetMC when using movieClipLoader

**URL:** <https://forum.kirupa.com/t/how-to-modify-a-textbox-within-the-targetmc-when-using-moviecliploader/60193>\
**Category:** Uncategorized\
**Created:** [August 7, 2004, 4:25pm UTC](https://forum.kirupa.com/t/how-to-modify-a-textbox-within-the-targetmc-when-using-moviecliploader/60193 "2004-08-07T16:25:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eudora](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@eudora](https://forum.kirupa.com/u/eudora)\
**Post date:** [August 7, 2004, 4:25pm UTC](https://forum.kirupa.com/t/how-to-modify-a-textbox-within-the-targetmc-when-using-moviecliploader/60193/1 "2004-08-07T16:25:34Z")

</div>

Hi, I am using a Listener attached to my movieClipLoader(MCL).

I have this code below to try to modify the text in a dynamic textbox that is within the targetMC itself… but it is not working… ☹ can anyone help?

```auto
myListener.onLoadProgress = function(targetMC, loadedBytes, totalBytes) {
	percentLoaded = Math.round(loadedBytes/totalBytes*100);
	//this.loadingBar._width = percentLoaded*70;
	**targetMC._parent.debug.text** = "Loading : "+percentLoaded+"%";
	//debug.text += "Loaded : "+loadedBytes+" / "+totalBytes+" into "+targetMC+newline;
};

```

debug is the dynamic textbox that lies in a container movieclip that consists of the targetMC and itself…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2004, 11:39pm UTC](https://forum.kirupa.com/t/how-to-modify-a-textbox-within-the-targetmc-when-using-moviecliploader/60193/2 "2004-08-07T23:39:17Z")

</div>

hehe okok this is working… 🙂
