This content has been marked as final.
Show 2 replies
-
1. vertical scroling menu
Nickels55 Dec 16, 2006 10:00 AM (in response to svarmuza)onClipEvent (load)
{
ycenter=150;
speedy=1/20;
}
onClipEvent (enterFrame)
{
var distancey=_root._ymouse-ycenter;
_y+=(distancey*speedy);
if (_y > 0) _y=-300;
if (_y < -300) _y=0;
}
Not tested - but it should work. Just change everything _x to _y and x to y
EDIT : I changed a few other variable incase you decide to use both at the same time -
2. Re: vertical scroling menu
svarmuza Dec 16, 2006 10:34 AM (in response to svarmuza)thanx, that fixed it

