Можно так

Код AS1/AS2:
var speed:Number=0;
_root.triangle.onEnterFrame = function() {
_root.triangle._rotation += speed;
};
dragger.onPress = function() {
this.startDrag(true, 0, 0, line._width, 0);
this.onEnterFrame = function() {
speed = Math.round((this._x-line._x)*0.1);
};
};
dragger.onRelease = dragger.onReleaseOutside =function(){
stopDrag();
delete dragger.onEnterFrame;
}