# I'm stuck with this little thing..help

**URL:** <https://forum.kirupa.com/t/im-stuck-with-this-little-thing-help/169089>\
**Category:** flash\
**Created:** [November 13, 2005, 10:18am UTC](https://forum.kirupa.com/t/im-stuck-with-this-little-thing-help/169089 "2005-11-13T10:18:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aib](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@aib](https://forum.kirupa.com/u/aib)\
**Post date:** [November 13, 2005, 10:18am UTC](https://forum.kirupa.com/t/im-stuck-with-this-little-thing-help/169089/1 "2005-11-13T10:18:54Z")

</div>

[left]i=1;[/left]  
textFiletoLoad=“mytextfile”+i;  
textButton.onPress=function(){  
MyLv.load(textFiletoLoad);  
trace(textFiletoLoad);  
}  
textButton.onRelease=function(){  
if(i\<10){  
i++;  
textFiletoLoad=“mytextfile”+i;  
}  
}

I got this code from Nantrop. I loads external txts when the button is pressed.  
But it has no target dynamic textfield so these textfiles are loading but not visible anywhere… If you know where to put the line that assign a place for the loaded txts help please  
thanks in advance.
