ecco, il problema sta qua, dovrei modificare questo codice: (in parte l'ho fatto ora va piu' piano, ma se metto il mouse sulla sinistra si muove lentissimamente):
codice:
// ----------------------------------------------
// mouse drags
// ----------------------------------------------
startDrag ("", true);
// ----------------------------------------------
// da settare a mano:
// ----------------------------------------------
movieheight = 770;
moviewidth = 60;
// ----------------------------------------------
// variabili
// ----------------------------------------------
w = getProperty("../picture", _width);
// ----------------------------------------------
// Drag Speed is INVERSE: ie:numero alto drag lento
speed = 1000;
// ---------------------------------------------
// begin drag calculations
// ---------------------------------------------
xPos = getProperty("", _x);
yPos = getProperty("", _y);
// -------------------------------------------
// Center the Drag Effect
// -------------------------------------------
xPos = xPos-(moviewidth/10);
yPos = yPos-(movieheight/10);
// -------------------------------------------
// slide <--x-->
// -------------------------------------------
setProperty ("../picture", _x, getProperty("../picture", _x)-(xPos/speed));
if (Number(getProperty("../picture", _x))<Number(-(w/2))) {
setProperty ("../picture", _x, 0.01);
} else if (Number(getProperty("../picture", _x))>0) {
setProperty ("../picture", _x, -w/2);
}
// -------------------------------------------