# Jubba needs a hand. How to target inside of a MC

**URL:** <https://forum.kirupa.com/t/jubba-needs-a-hand-how-to-target-inside-of-a-mc/2504>\
**Category:** flash\
**Created:** [March 24, 2002, 5:23am UTC](https://forum.kirupa.com/t/jubba-needs-a-hand-how-to-target-inside-of-a-mc/2504 "2002-03-24T05:23:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2002, 5:23am UTC](https://forum.kirupa.com/t/jubba-needs-a-hand-how-to-target-inside-of-a-mc/2504/1 "2002-03-24T05:23:09Z")

</div>

I have an input text field, that is inside an MC (call it 1). I need another MC (call it 2) to target the text field that is inside of 1. How do I go about doing this?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2002, 10:45am UTC](https://forum.kirupa.com/t/jubba-needs-a-hand-how-to-target-inside-of-a-mc/2504/2 "2002-03-24T10:45:36Z")

</div>

Did you try this ?

```auto
 _root.clip2.textname = "Jubba sucks" ;

```

pom 0] (who else might have written that I wonder…)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2002, 12:39pm UTC](https://forum.kirupa.com/t/jubba-needs-a-hand-how-to-target-inside-of-a-mc/2504/3 "2002-03-24T12:39:44Z")

</div>

or you can target the variable from the txt field, but set it elsewhere… in which case the txt field would have a variable like this.  
\_root.variableA

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2002, 2:25pm UTC](https://forum.kirupa.com/t/jubba-needs-a-hand-how-to-target-inside-of-a-mc/2504/4 "2002-03-24T14:25:05Z")

</div>

yes I tried that but it said “Pom Sucks” instead, but it didn’t work.

and Upu, I think you are telling me to put it on the main stage? buti can’t do that because I need to adjust its alpha for a frame or two and it needs to be inside of a movie clip.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2002, 2:58pm UTC](https://forum.kirupa.com/t/jubba-needs-a-hand-how-to-target-inside-of-a-mc/2504/5 "2002-03-24T14:58:53Z")

</div>

an input text field is like any other variable. just put the complete path to the variable.  
ex:  
you have a movie clip on the stage named “mcInput” with an input text field named “iText”. the path would be:  
\_root.mcInput.iText

input text fields (just like dynamic text fields) are both read and write, so you can declare the value of the input text box in order to display a default value.  
ex:  
\_root.mcInput.iText = “input text here…”;

that would make the input text field display “input text here…”.  
if this is not working for you, then post the fla.  
🙂  
jeremy

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2002, 4:27pm UTC](https://forum.kirupa.com/t/jubba-needs-a-hand-how-to-target-inside-of-a-mc/2504/6 "2002-03-24T16:27:44Z")

</div>

yeah… I’m just saying that you can search from the text field using addressing, or you can call from whatever sets the variable addressing to the location of the text field.  
Either way is acceptable depending upon the situation.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2002, 4:28pm UTC](https://forum.kirupa.com/t/jubba-needs-a-hand-how-to-target-inside-of-a-mc/2504/7 "2002-03-24T16:28:30Z")

</div>

Ohh my… I read dynamic text field. Autant pour moi. But as Sinf said, it should work the same…

pom 0]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 24, 2002, 4:30pm UTC](https://forum.kirupa.com/t/jubba-needs-a-hand-how-to-target-inside-of-a-mc/2504/8 "2002-03-24T16:30:26Z")

</div>

ok let me try again, I probly had a problem in my code. thanks guys (and POM).

yeah it works now, I must have been doing something stupid last night. thanks a lot.
