este es el codigo del fotograma 1
Código :
xphoto = 0; widthmovie = 325; scrollspeed = 15; widthphoto = 1182;
fotograma 2
Código :
xmouse = _xmouse - (widthmovie / 2);
speed = (xmouse) / scrollspeed;
if (speed < 0) {
speed = -(speed);
}
mouseposition = getProperty("/myself", _y);
if (_ymouse < 29) {
speed=0;
}
if (_ymouse > 118) {
speed=0;
}
if (xmouse < 0) {
xphoto = xphoto + speed;
}
if (xmouse > 0) {
xphoto = xphoto - speed;
}
if (xphoto > 0) {
xphoto = 0;
}
if (xphoto < -(widthphoto - widthmovie)) {
xphoto = -(widthphoto - widthmovie);
}
setProperty("photo", _x, xphoto);
Fotograma 3
Código :
gotoAndPlay (2)
y en el mc photos fotograma1
Código :
stop();
