# Input text resets when looped

**URL:** <https://forum.kirupa.com/t/input-text-resets-when-looped/260513>\
**Category:** Uncategorized\
**Created:** [May 16, 2008, 11:02am UTC](https://forum.kirupa.com/t/input-text-resets-when-looped/260513 "2008-05-16T11:02:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![razion](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@razion](https://forum.kirupa.com/u/razion)\
**Post date:** [May 16, 2008, 11:02am UTC](https://forum.kirupa.com/t/input-text-resets-when-looped/260513/1 "2008-05-16T11:02:58Z")

</div>

how would i achieve that the text i entered in the input textbox in swf remained the same after the loop and wouldn’t reset itself?  
thanks

---

<div class="post-metadata">

**Author:** ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)\
**Post date:** [May 16, 2008, 12:46pm UTC](https://forum.kirupa.com/t/input-text-resets-when-looped/260513/2 "2008-05-16T12:46:51Z")

</div>

Your other threads were deleted. Do not cross post.

---

<div class="post-metadata">

**Author:** ![hasch2o](https://avatars.discourse-cdn.com/v4/letter/h/ba8739/32.png) [@hasch2o](https://forum.kirupa.com/u/hasch2o)\
**Post date:** [May 19, 2008, 12:39am UTC](https://forum.kirupa.com/t/input-text-resets-when-looped/260513/3 "2008-05-19T00:39:23Z")

</div>

How exactly are you looping?

Try to give some more information, or an example.

That’s how I understood you:  
You have a swf which loops infinitely. The textbox is overwritten everytime it starts from the beginning.  
You could make a container swf (with one frame) where you store the text and a movieclip which loops.  
When the textbox is changed update the variable in your container swf. On looping get the text from the  
variable. That would make sure, that the text is updated correctly.

hth  
Carlo
