_ele
06-29-2005, 09:14 PM
hello all -
i've been pulling my hair out trying to figure out something.
i have a 2 movieclips that need to gotoAndPlay a certain frame in them depending if the mouse cursor is on the stage or not. Through research, i can see how to find the mouse coords...
_root.bite.onEnterFrame = function (){
trace("x is " + _root._xmouse + " : y is " + _root._ymouse);
}
but then how do i tell an MC to react upon that?
i.e. my stage is masthead banner size, 728x90, so anything above 728x90 or negative coords need to cause movieclips to react.
thanks in advance for any help
- evan
i've been pulling my hair out trying to figure out something.
i have a 2 movieclips that need to gotoAndPlay a certain frame in them depending if the mouse cursor is on the stage or not. Through research, i can see how to find the mouse coords...
_root.bite.onEnterFrame = function (){
trace("x is " + _root._xmouse + " : y is " + _root._ymouse);
}
but then how do i tell an MC to react upon that?
i.e. my stage is masthead banner size, 728x90, so anything above 728x90 or negative coords need to cause movieclips to react.
thanks in advance for any help
- evan