The ActionScript Snippet
onClipEvent (load) { // set parameters: // amplify the speed var k = 0.03; } onClipEvent (enterFrame) { // loop: // recalculate the rotation this._rotation = this._rotation-k*(_parent._xmouse-this._x); }
onClipEvent (load) { // set parameters: // amplify the speed var k = 0.03; } onClipEvent (enterFrame) { // loop: // recalculate the rotation this._rotation = this._rotation-k*(_parent._xmouse-this._x); }