ciao a tutti
nel seguente script, quando il mc si carica, dovrebbe andare in posizione X 30 e Y 27... purtroppo mi va in O e O.
Il resto dello script va bene
come mai?
onClipEvent (load) {
_x = 30;
_y = 27;
div = 5;
}
onClipEvent (enterFrame) {
_x += (endX-_x)/div;
_y += (endY-_y)/div;
//endX = _root._xmouse; // uncomment these lines if you
//endY = _root._ymouse; // want to move by mouse
_root.home.onRelease = function() {
endX = 30;
endY = 27;
};
_root.whatisseo.onRelease = function() {
endX = -470;
endY = 27;
};
_root.whatwedo.onRelease = function() {
endX = 30;
endY = 5;
};
_root.casestudies.onRelease = function() {
endX = -470;
endY = 5;
};
_root.aboutus.onRelease = function() {
endX = 30;
endY = -17;
};
_root.careers.onRelease = function() {
endX = -470;
endY = -17;
};
}