# Ignoring textFields?

**URL:** <https://forum.kirupa.com/t/ignoring-textfields/281880>\
**Category:** flash\
**Created:** [February 14, 2009, 8:56am UTC](https://forum.kirupa.com/t/ignoring-textfields/281880 "2009-02-14T08:56:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michdd](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@michdd](https://forum.kirupa.com/u/michdd)\
**Post date:** [February 14, 2009, 8:56am UTC](https://forum.kirupa.com/t/ignoring-textfields/281880/1 "2009-02-14T08:56:50Z")

</div>

This code enables me to drag/drop the MC:

```auto

messageBox.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
messageBox.addEventListener(MouseEvent.MOUSE_UP, dropIt);
				
function closeMess(event:MouseEvent):void {
	removeChild(messageBox);
}
function pickUp(event:MouseEvent):void {
	event.target.startDrag();
}
function dropIt(event:MouseEvent):void {
	event.target.stopDrag();
}

```

However on this MC there are 2 TextFields. If you click on the text field you obviously can’t drag it because you’re not clicking on the MC directly, is there a way to change this? So that I could even click in the textField area and still be able to drag the MC?
