Помогите пожалуйста реализовать задачу!
Во вложенном файле реализовано вращение псевдо 3D объекта, хотелось бы чтоб после отпускания мышки объект продолжил вращаться с плавной остановкой.
Так же как сделано на этом сайте:
http://www.google.com/googlephone/tour/

Код AS1/AS2:
stop();
var max:Number = rotation_x._totalframes;
rotation_x.onRollOver = function(){
}
rotation_x.onPress = function(){
start3D(this._xmouse, this._currentframe);
}
rotation_x.onRollOut = function(){
}
rotation_x.onRelease = rotation_x.onReleaseOutside = function(){
rotation_x.onMouseMove = null;
}
function start3D(startX:Number, startFrame:Number){
rotation_x.onMouseMove = function(){
var cf:Number = Math.round(startFrame - startX + this._xmouse);
if(cf > max){
cf = 1+cf-max;
this.gotoAndStop(cf);
startX = this._xmouse;
startFrame = cf;
} else if (cf < 1){
cf = max+cf;
this.gotoAndStop(cf);
startX = this._xmouse;
startFrame = cf;
} else this.gotoAndStop(cf);
}
}