# Reloading movieclip as variables change

**URL:** <https://forum.kirupa.com/t/reloading-movieclip-as-variables-change/191214>\
**Category:** Uncategorized\
**Created:** [June 18, 2006, 7:51pm UTC](https://forum.kirupa.com/t/reloading-movieclip-as-variables-change/191214 "2006-06-18T19:51:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sabreteckdesign](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@sabreteckdesign](https://forum.kirupa.com/u/sabreteckdesign)\
**Post date:** [June 18, 2006, 7:51pm UTC](https://forum.kirupa.com/t/reloading-movieclip-as-variables-change/191214/1 "2006-06-18T19:51:23Z")

</div>

Okay, i am working on a flash website and i have for the first time made everything dynamically loading from outside of the SWF to reduce the file size. I have a text file which is dynamically loaded into a text box, which i have defined in a variable called “textfile”. I want to reload the movieclip on the click of a button and at the same time change the variable for the text file to be opened into the text box. so as i click content, the variable changes to content and the movieclip reloads, showing content.txt in the text box, does anyone have any idea of how i would go about this?

thanks for your help.
