![]() |
|
||||||||||
|
|||||
|
Мой вариант:
mc1_mc.onPress = function() {
this.startDrag(false, 0, 0, 500, 0);
};
mc1_mc.onRelease = mc1_mc.onReleaseOutside=function () {
var myStep = 50;
this.stopDrag();
this._x = roundAfteAddStep(this._x, myStep);
};
function roundAfteAddStep(par1, par2) {
return par2*Math.round(par1/par2);
}
Это 1000-е мое сообщение ![]() |
![]() |
Часовой пояс GMT +4, время: 15:30. |
|
|
« Предыдущая тема | Следующая тема » |
|
|