# Input text inside dragable movie clip

**URL:** https://forum.kirupa.com/t/input-text-inside-dragable-movie-clip/314543
**Category:** Uncategorized
**Created:** [October 1, 2010, 10:17am UTC](https://forum.kirupa.com/t/input-text-inside-dragable-movie-clip/314543 "2010-10-01T10:17:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![soni](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@soni](https://forum.kirupa.com/u/soni)
#### Post date: [October 1, 2010, 10:17am UTC](https://forum.kirupa.com/t/input-text-inside-dragable-movie-clip/314543/1 "2010-10-01T10:17:18Z")

</div>

hi,.sory for maybe my common question,.  
i’ve been search in google and this site for 2 day and still not found the answer  
so maybe if i’m ask there would be answer.

i was create a input text field inside a movie clip  
movie clip \> input text field  
i am creating a dragg able game,so this movie clip was called from library and then i give it dynamic listener for dragging ability

```auto

var mc:hub = new hub();
    mc.name="myClip"+ke;
    this.addChild(mc);
    mc.y=yStart;
    mc.x=xStart;
    getChildByName(mc.name).addEventListener(MouseEvent.MOUSE_DOWN, pickhub);
    getChildByName(mc.name).addEventListener(MouseEvent.MOUSE_UP, drophub);

```

my question is,if i click input box,there would be error like this

```auto

ReferenceError: Error #1069: Property stopDrag not found on flash.text.TextField and there is no default value.

```

i was search from internet and have solution to set mousechildren to false,but if i do it,i could use my input field  
second question is how i acces my input text  
if i use movieclipname.inputtextname.text it got error.,  
i can use getChildByName because i add many of this movieclip from library.

thank you very much for ur help and sory for my english
