![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
02/09/2006, 11:46
|
![Avatar de Bandit](http://static.forosdelweb.com/customavatars/avatar36355_1.gif) | Moderador | | Fecha de Ingreso: julio-2003 Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 21 años, 7 meses Puntos: 406 | |
Hola gmaciel:
Coloca éste código en el primer frame de tu película:
var nombre_arr = new Array("pag.swf", "pag1.swf", "pag2.swf");
MovieClip.prototype.load_random = function(swf){
this.loadMovie(swf);
}
this.createEmptyMovieClip("cont_mc", 1);
cont_mc.load_random(nombre_arr[random(nombre_arr.length)]);
cont_mc.onEnterFrame = function(){
if(this._currentframe == this._totalframes && this._totalframes > 1){
this.load_random(_root.nombre_arr[random(_root.nombre_arr.length)]);
}
}
Espero haberte sido de ayuda. |