Ver Mensaje Individual
  #13 (permalink)  
Antiguo 02/08/2007, 13:53
Avatar de gel
gel
 
Fecha de Ingreso: julio-2007
Ubicación: Toronto
Mensajes: 76
Antigüedad: 16 años, 9 meses
Puntos: 1
Re: Problemas Con La Salida De un SWF Exterior

Hola Amigos... regreso de nuevo con el mismo tema...
acá les dejo (el link de abajo) el file en caso de que quieran revisarlo y hacerle cambios para la ayuda del mismo.
Pues, no logro en darle la salida adecuada al .SWF de los contenidos. No obstante, también les dejo el AS del Botón paara chequearlo:


Cita:
stop();
import mx.transitions.Tween;
import mx.transitions.easing.*;

home_btn.onRelease = function() {

//this creates an empty moviclip on the main timeline for the external swf's to be loaded
_root.createEmptyMovieClip("holder_mc", getNextHighestDepth());

//I can't get the outro to work corectly
//this should be the outro (salida)

var Tween2:Tween = new Tween(_root.holder_mc, "_alpha", Strong.easeOut, 100, 0, 1, true);

//when the outro is finished it loads the new movie

Tween2.onMotionFinished = function() {
var Tween1:Tween = new Tween(_root.holder_mc, "_alpha", Strong.easeIn, 0, 100, 1, true);
loadMovie("1.swf",_root.holder_mc);
};
}


Test2.zip

http://www.box.net/shared/2yvs19fjfs

Última edición por gel; 02/08/2007 a las 18:31 Razón: aclarar dudas