Hello gurus, (or is it guri?)
Basically I want to have something pop-up, and stay up on when the mouse moves to a side of the swf, but it re-animates the pop-up motion when the mouse is moved even after it is on one side. Here is the script I wrote for it: (left_motion is the mc that has the animation.)
onMouseMove = function() {
if (_xmouse <= 300) {
left_motion.gotoAndPlay(“up”);
trace(“mouse is on the left”);
}
if (_xmouse >= 301) {
left_motion.gotoAndPlay(“down”);
trace(“mouse is on the right”);
}
};
So what I’m wondering is, how do I have the pop-up animation happen only when the mouse has changed from the right to the left, and vice versa (sides determined by the x position of the mouse). I know there must be a way. I appreciate your help!
Thanks,
trippel