Hi everyone,
Ive got a main menu on my website with buttons. one of the buttons plays a movieclip instance where a dropdown menu appears with more buttons. The dropdown stops on a frame containing a new movieclip with this bit of script on it:
onClipEvent (enterFrame)
{
if (this.hitTest(_root._xmouse, _root._ymouse, true))
{
trace("true");
}
else
{
this.play();
}
}
so the idea is, the menu drops down and stops, and waits for the mouse to leave before playing the rest of the movieclip (which animates the dropdown going up and disappearing)
my problem is the when the hitTest is false the clip doesn’t play, it’s still stopped. Anyone know what I’m doing wrong?