Here is the fla file. What I want is to have the menu stop when you are not on the menu and then resume scrolling when you go back over it. Thanks
I followed the tutorial and have modifired it to this point so far. Here is the code I used
onClipEvent (load)
{
ycenter=238.5;
speed=1/10;
}
onClipEvent (enterFrame) {
var distance=_root._ymouse-ycenter;
_y+=(distance*speed);
if (_y > 0) _y=-618;
if (_y < -618) _y=0;
}
Not sure how to tweak the code to get it to stop with the cursor off. Thanks
I think i have to use a hittest function or something like that.
Tazz