En un SWF tengo cuadros de foto y texto que se cargan desde un txt.
Ej:
&foto1=<img src = "/images/foto1.jpg">
&texto1=Texto xxxxx xxxx xxxxx texto
&foto2=<img src = "/images/foto2.jpg">
&texto2=Texto xxxxx xxxx xxxxx texto
Ahora quiero agregar un botón que al hacer click cargue un nuevo swf en lugar del actual. Esta instrucción quiero hacerla esde el mismo txt
Ej:
&foto1=<img src = "/images/foto1.jpg">
&texto1=Texto xxxxx xxxx xxxxx texto
&link=nuevo_swf_que_debe_cargar_en_este_lugar.swf
En otras palabras:
Cada boton debe llamar a un swf mediate "loadMovieNum".
Como hago para poner dentro del txt la siguiente instrución?:
Código ActionScript :
on (release) {
//load Movie Behavior
if(this == Number(this)){
loadMovieNum("nuevoswf.swf",this);
} else {
this.loadMovie("nuevoswf.swf");
}
//End Behavior
}Muchisimas gracias!
