# Little textfield problem

**URL:** <https://forum.kirupa.com/t/little-textfield-problem/254309>\
**Category:** Uncategorized\
**Created:** [March 10, 2008, 8:20pm UTC](https://forum.kirupa.com/t/little-textfield-problem/254309 "2008-03-10T20:20:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xsix](https://avatars.discourse-cdn.com/v4/letter/x/e19adc/32.png) [@xsix](https://forum.kirupa.com/u/xsix)\
**Post date:** [March 10, 2008, 8:20pm UTC](https://forum.kirupa.com/t/little-textfield-problem/254309/1 "2008-03-10T20:20:59Z")

</div>

Hi flahsguys.  
I created 2 buttons as 2 movieclips and 1 dynamic textfield.  
Inside one movieclip i put this code:  
onClipEvent(mouseDown) {  
\_root.textbox\_chosen.text=“test1”;  
}  
And inside another i put:  
onClipEvent(mouseDown) {  
\_root.textbox\_chosen.text=“test2”;  
}  
So they’re almost identical and when i run my movie and press on the button  
i get test2 in my textfield. I can’t release why when i press my first movieclip i get  
test2 text in my textfield. There are 2 seperate movieclips but when i press on the first one  
it should change textfields’s.text to test1 but it changes to text2, i can’t figure out this problem =\
