Hi, I was wondering how to create a scrolling effect like the one you can see if you enter —> profile —> roll over “Mike”, and then moves your mouse cursor up and down.
http://www.ziggystudio.com/v1/main.htm
This is, what I’ve come up with, so far:
onClipEvent(load){
_y=0;
speed=2;
}
onClipEvent(mouseMove){
targety=_root._ymouse;
}
onClipEvent(enterFrame){
_y+=(targety-_y)/speed;
}
But I need my MC to stop, when it reaches a top and lower point. So it wont scroll all the time the visitor is movie hes, or her cursor around, elsewhere in the flash movie.