http://www.kirupa.com/developer/mx/followease.htm
there’s the old tutorial
here’s how i’m trying to spruce it up
onEnterFrame = function () {
endX = _root._xmouse;
endY = _root._ymouse;
speed = 5;
for (i=0;i<18;i++) {
attachMovie("ball", "ball"+i, i {_x:((endX-(12*i))-_x)/speed, _y:((endY-(12*i))-_y)/speed});
}
};
the symbol ball is a 20x20 pixel circle with 20 percent transparency
i’m trying to create a worm like effect that follows the mouse
any help is appreciated