# Messsage passing problem

**URL:** <https://forum.kirupa.com/t/messsage-passing-problem/125292>\
**Category:** Uncategorized\
**Created:** [October 12, 2004, 10:45am UTC](https://forum.kirupa.com/t/messsage-passing-problem/125292 "2004-10-12T10:45:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![soundobj](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@soundobj](https://forum.kirupa.com/u/soundobj)\
**Post date:** [October 12, 2004, 10:45am UTC](https://forum.kirupa.com/t/messsage-passing-problem/125292/1 "2004-10-12T10:45:49Z")

</div>

HI there! just registered hope you are well!

I have a movieclip that acts as a check box which has the below code attahced to it:

onClipEvent (mousedown)  
{

if(this.hitTest(\_root.\_xmouse, \_root.\_ymouse, true)){  
if(\_currentFrame == 1){

\_root.art1 = \_root.ritis;

gotoAndPlay (2);

}else {

```
gotoAndPlay (1);

```

\_root.art1 = “”;

}  
}  
}

the idea is to pass the value of art1 into a textfield placed in the root timeline namely \_root.textfield.field2 thus each time the movieclip holding the above code is pressed. the textfield is embedded in a movieclip with the instance name “texfield”. in the main timeline frame i have the following code:

\_root.textfield.field2 = \_root.textfield.filed2 add \_root.art1;

When I test the movie and I view the variables \_root.art1 does change its value but the \_root.textfield.filed2 does not show the changes as its value does not change. how can I solve this?  
thanks in advance!!
