KickingFriedCats
Member
|
onClipEvent(load) {
speed = 5
}
onClipEvent(mouseDown) {
endX = _root._xmouse
endY = _root._ymouse
xspeed -= speed;
gotoAndPlay(2);
xspeed += speed;
gotoAndPlay(2)
yspeed -= speed;
gotoAndPlay(2)
yspeed += speed;
gotoAndPlay(2)
}
onClipEvent(enterFrame) {
_y += (endY - _y)/speed
_x += (endX - _x)/speed
} TBH, I have no idea what that code above does. I mean, I know its something to do with point and clicking and animation, but that's basically it. Anyway, what I need to know is how to make the animation stop? This is Endisukaj's code, so umm, I don't really know whats wrong other than that the walking animation wont stop once it starts. And what we(Endi and I) want to know is how to make it stop. Kthxbai.
|