
Код AS1/AS2:
scroll.onPress = function()
{
startDrag(this,false, 38.6 ,614.75, 755, 614.75);
temp = this._xmouse; trace(temp);
this.onMouseMove = function():Void {
if(temp>_xmouse){
trace(">");
temp=_xmouse;}
else { if (temp<_xmouse)
trace(">");
temp=_xmouse;
}
}
}
scroll.onRelease = function() {
this.stopDrag();
}
вот теперь работает тока осталося узнать куда он двигается процессе движения мыши...
