Targeting Problem with Mouseevent-listeners

Hey there,

i’m experiencing targeting problems with my MouseOver and out Events…f.e. i put a Over-listener on a mc with a simple square and textfield _> it works fine, but when i add a dynamic textfield into the button which i filled from outside i get an there is no target found error. how can i get arround this?

this is the function:


function outBtn(event:MouseEvent):void
  {
   event.target.gotoAndStop("out");
  }

seems like as3 takes the dynamic textfield as target when i click on this button…