# Adding roll\_over/mouse\_over text to container

**URL:** https://forum.kirupa.com/t/adding-roll-over-mouse-over-text-to-container/284352
**Category:** flash
**Created:** [March 18, 2009, 11:24am UTC](https://forum.kirupa.com/t/adding-roll-over-mouse-over-text-to-container/284352 "2009-03-18T11:24:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![MSR](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@MSR](https://forum.kirupa.com/u/MSR)
#### Post date: [March 18, 2009, 11:24am UTC](https://forum.kirupa.com/t/adding-roll-over-mouse-over-text-to-container/284352/1 "2009-03-18T11:24:26Z")

</div>

Hi,

I am trying to create a container MovieClip with several TextField elements contained within it. I then need the TextFields to react to ROLL\_OVER or MOUSE\_OVER. This works fine if the fields are placed outside of the container, but not when I do

```auto
container.addChild(textField);

```

The TextFields are added after the container, and new ones may be created or removed later during the running of the movie. I’ve tried changing the value of container.mouseChildren but that didn’t seem to make a difference.

Thanks for your help.
