Dejo mi as 2, de los botones de cada uno:
este es el codigo del mc up
Código:
este es el codigo del down:onClipEvent (enterFrame)
{
if (_root.fotos_mc._y <=120)
{
if (_root.arriba == true)
{
_root.fotos_mc._y = _root.fotos_mc._y + 8;
} // end if
} // end if
}
Código:
Dentro del mc se encuentra un boton con el siguiente codigo:onClipEvent (enterFrame)
{
if (_root.fotos_mc._y >= -90)
{
if (_root.abajo == true)
{
_root.fotos_mc._y = _root.fotos_mc._y - 8;
} // end if
} // end if
}
Código:
y aquie el codigo del boton down:on (release, releaseOutside)
{
_parent.drag_but = false;
}
on (press)
{
_parent.drag_but = true;
}
on (rollOver)
{
_root.arriba = true;
arr.gotoAndPlay("s1");
}
on (releaseOutside, rollOut)
{
_root.arriba = false;
arr.gotoAndPlay("s2");
}
Código:
foto_mc es el nombre de instancia del mc que contiene las fotitos. on (release, releaseOutside)
{
_parent.drag_but = false;
}
on (press)
{
_parent.drag_but = true;
}
on (rollOver)
{
_root.abajo = true;
arr.gotoAndPlay("s1");
}
on (releaseOutside, rollOut)
{
_root.abajo = false;
arr.gotoAndPlay("s2");
}


