Omiti parte del codigo que creo que no sirve para caso del problema
Código:
Gracias //var estado=0;
cont_pergo._alpha=0;
cumbres_vert._alpha=0;
aisla_vert._alpha=0;
pergo_vert._alpha=0;
_root.aisla1.onRelease = function() {
_root.aisla1.xScaleTo(300,1,"easeoutexpo");
_root.aisla1.xSlideTo(320,1.5,"easeoutexpo");
_root.cumbres1.xScaleTo(60,1,"easeoutexpo");
_root.pergo1.xScaleTo(60,1,"easeoutexpo");
_root.pergo1.xSlideTo(680,1.5,"easeoutexpo");
_root.cumbres1.xSlideTo(808,1.5,"easeoutexpo");
_root.logos.gotoAndPlay(33);
borra_logos();
_root.cont_pergo.alphaTo(0,0.3);
//_root.aisla1.useHandCursor=false;
if (estado==0 || estado==3 )
{
_root.cumbres_vert.alphaTo(100,1,"",1);
_root.pergo_vert.alphaTo(100,1,"",1);
_root.aisla_vert.alphaTo(0,0.2);
_root.cumbres_vert.xSlideTo(810,1,"easeoutexpo");
_root.aisla_vert.alphaTo(0,0.2);
estado=1;
//trace(estado);
}
else if(estado==2)
{
_root.cumbres_vert.xSlideTo(810,1,"easeoutexpo");
_root.aisla_vert.alphaTo(0,0.3,"");
_root.pergo_vert.alphaTo(100,1,"",1);
//trace(estado);
estado=1;
}
};
_root.pergo1.onRelease = function() {
borra_aisla();
_root.pergo1.xScaleTo(300,1,"easeoutexpo");
_root.pergo1.xSlideTo(320,1.5,"easeoutexpo");
_root.aisla1.xScaleTo(60,1,"easeoutexpo");
_root.cumbres1.xScaleTo(60,1,"easeoutexpo");
_root.cumbres1.xSlideTo(680,1.5,"easeoutexpo");
_root.aisla1.xSlideTo(808,1.5,"easeoutexpo");
logos.gotoAndPlay(15);
borra_logos();
_root.cont_pergo.alphaTo(100,1,"",1);
_
if (estado==0)
{
//_root.cumbres_vert.xSlideTo(680,1,"easeoutexpo");
estado=2;
_root.aisla_vert.alphaTo(100,1,"",1);
_root.cumbres_vert.alphaTo(100,1,"",1);
_root.cumbres_vert.xSlideTo(680,1.5,"easeoutexpo");
}
else if (estado==3)
{
_root.pergo_vert.alphaTo(0,0.3);
_root.cumbres_vert.alphaTo(100,0.9,"",1);
_root.cumbres_vert.xSlideTo(680,1.5,"easeoutexpo");
estado=2;
}
else if(estado==1)
{
_root.pergo_vert.alphaTo(0,0.3);
_root.cumbres_vert.xSlideTo(680,1.5,"easeoutexpo");
_root.aisla_vert.alphaTo(100,1,"",1);
estado=2;
}
};
_root.cumbres1.onRelease = function() {
_root.cont_pergo.alphaTo(0,0.3);
borra_aisla();
_root.cumbres1.xScaleTo(300,1,"easeoutexpo");
_root.cumbres1.xSlideTo(320,1.5,"easeoutexpo");
_root.aisla1.xScaleTo(60,1,"easeoutexpo");
_root.pergo1.xScaleTo(60,1,"easeoutexpo");
_root.pergo1.xSlideTo(680,1.5,"easeoutexpo");
_root.aisla1.xSlideTo(808,1.5,"easeoutexpo");
logos.gotoAndPlay(1);
borra_logos();
_root.aisla_vert.alphaTo(100,0.9,"",1);
if (estado==1)
{
_root.cumbres_vert.alphaTo(0,0.3);
_root.aisla_vert.alphaTo(100,0.9,"",1);
estado=3;
//trace(estado);
}
else if(estado==3)
{
}
else if(estado==0){
_root.pergo_vert.alphaTo(100,1,"",1);
estado=3;
}
else if(estado==2){
_root.cumbres_vert.alphaTo(0,0.3);
_root.pergo_vert.alphaTo(100,1,"",1);
estado=3;
}
}

