check this code
onClipEvent (load) {
k = .2;
damp = .9;
grav = .1;
}
onClipEvent (enterFrame) {
ax = (_root._xmouse-_x)*k;
ay = (_root._ymouse-_y)*k;
vx += ax;
vy += ay;
vy += grav;
vx *= damp;
vy *= damp;
_x += vx;
_y += vy;
}
tell me where am i going wrong???
cos after giving the code to mc its not responding in any terms except the drag and drop to the invisible button…
help me pls