Hi,
I followed the tutorial below to get a great effect.
http://www.kirupa.com/developer/mx/followease.htm
Only problem now is that the image is in the background, and you can see the edges as the image moves too far down!
Is there any way to have the image follow the mouse but only within a certain region, say the image will only follow the mouse if it is within a 100px high area?
The code I’m using is
onClipEvent (load) {
_y = 0;
speed = 5;
}
onClipEvent (enterFrame) {
endY = _root._ymouse;
_y += (endY-_y)/speed;
}
I only want the image to move up and down, not all around.