콺 ٴϴ ҽ

 

 

onLoad () {

    this._x = 0;

    this._y = 0;

    this.speed = 7;

}

onEnterFrame(includingFirstFrame) {

    this.endX = _root._xmouse;

    this.endY = _root._ymouse;

    this._x += (this.endX-this._x)/this.speed;

    this._y += (this.endY-this._y)/this.speed;

}

onFrame (21) {

    gotoAndPlay(1);

}