CODE:ball_mc.onMouseDown = function() {
this.targetX = this._parent._xmouse;
this.targetY = this._parent._ymouse;
}
ball_mc.onEnterFrame = function() {
this._x += (this.targetX-this._x)/10;
this._y += (this.targetY-this._y)/10;
}
ball_mc.onMouseDown();
С замедлением правда =) |