# Unload external txt-file?

**URL:** <https://forum.kirupa.com/t/unload-external-txt-file/114847>\
**Category:** Uncategorized\
**Created:** [July 2, 2004, 9:22am UTC](https://forum.kirupa.com/t/unload-external-txt-file/114847 "2004-07-02T09:22:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kathari](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@kathari](https://forum.kirupa.com/u/kathari)\
**Post date:** [July 2, 2004, 9:22am UTC](https://forum.kirupa.com/t/unload-external-txt-file/114847/1 "2004-07-02T09:22:34Z")

</div>

Hi,  
maybe this is a completely ridiculous question but I cant find an answer anywhere.  
I have a mc containing a textfield into which I load an external txt-file with the loadVars object. I need to remove the external text and move the mc (with the textfield) before loading another txt-file. How do I do this?  
I have tried making the mc invisible and then moving it before loading new data but it seems that it can’t move with externally loaded text(html) in it? Is this correct?

---

<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:** [July 3, 2004, 10:27pm UTC](https://forum.kirupa.com/t/unload-external-txt-file/114847/2 "2004-07-03T22:27:02Z")

</div>

nop  
textfield.text = “”; to clear content  
U can move anytime but if is a dinamic textfield on “rotate” text not show, any else movement permited whitout problem.move the mc not the mc.textfield

---

<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:** [July 4, 2004, 7:07am UTC](https://forum.kirupa.com/t/unload-external-txt-file/114847/3 "2004-07-04T07:07:30Z")

</div>

Thanks for replying! I didn’t think I’d get any replies after such a long time…  
I have tried to clear the textfield with mc.textfield.htmltext = “”; but it didn’t work and I have tried moving it using the mc but it wouldn’t It’s a dynamic HTML textfield with imported data in it. I’ll check it again in case there was some mistake in the code but if you have any ideas I’d be grateful to hear!

---

<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:** [July 4, 2004, 6:58pm UTC](https://forum.kirupa.com/t/unload-external-txt-file/114847/4 "2004-07-04T18:58:18Z")

</div>

Kathari it seems ridiculous but if you bury the loaded text in another movieclip you can do whatever you want to the parent and the dynamic text will work as expected, it can be hidden, changed, etc example  
you have this  
[mcForHoldingText]  
-{dynamicTextField}  
do this  
[mcForHoldingText]  
-[textMovieClip]  
–{dynamicTextField}  
then just go ahead and do whatever you need to the “mcForHoldingText” and it will work on the dynamic text field, just remember you have to change the path to the html text to reflect the extra layer of mc’s…I don’t know why but it works but it does if you need a sample let me know.

---

<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:** [July 4, 2004, 8:57pm UTC](https://forum.kirupa.com/t/unload-external-txt-file/114847/5 "2004-07-04T20:57:24Z")

</div>

It does seem ridiculous but I’ll try!! Tomorrow though. Thanks! I’ll post when I’ve tried.
