Answered
event listener confusion
i've not tried to do anything odd with eventListeners up
until now. i have a movieclip with multiple frames that i use AS to
attach a textfield to it. problem is i have a eventlistener for
when the mouse rollsover the movieclip to go to frame 3 of the
movieclip.
here's my function
function doOver(evt:Event) {
evt.target.gotoAndStop(2);
}
however this is throwing the error
ReferenceError: Error #1069: Property selected not found on flash.text.TextField and there is no default value.
at Menu_fla::MainTimeline/doOut()
what's causing the textfield to suddenly take precedence and how do i stop it. when i trace the evt.target - it is my movieclip.
here's my function
function doOver(evt:Event) {
evt.target.gotoAndStop(2);
}
however this is throwing the error
ReferenceError: Error #1069: Property selected not found on flash.text.TextField and there is no default value.
at Menu_fla::MainTimeline/doOut()
what's causing the textfield to suddenly take precedence and how do i stop it. when i trace the evt.target - it is my movieclip.