level 7
bzdrummer
楼主
drag_x = getproperty("/drag",_x);
drag_y = getproperty("/drag",_y);
main_x = getproperty("/main",_x);
main_new = main_x+(drag_x-380)*(-0.1);
if (main_x>1100) {
main_new = main_new-760;
} else if (main_x<-340) {
main_new = main_new+760;
}
setpropetry("/main", _x, main_new);
setpropetry("/mouseover", _x, drag_x-140);
2009年01月25日 07点01分
1
drag_y = getproperty("/drag",_y);
main_x = getproperty("/main",_x);
main_new = main_x+(drag_x-380)*(-0.1);
if (main_x>1100) {
main_new = main_new-760;
} else if (main_x<-340) {
main_new = main_new+760;
}
setpropetry("/main", _x, main_new);
setpropetry("/mouseover", _x, drag_x-140);