Comunidad de diseño web y desarrollo en internet online

Problema con boton

Citar            
MensajeEscrito el 29 Sep 2008 08:15 pm
Buenas...bueno llevo dias intentando que al pulsar un boton cargue unas fotos que tengo en un mc y no hay manera.. a continuacion os pongo el codigo que le tengo puesto al boton.

onClipEvent (load) {
num = 2;
this.ti1.gotoAndStop(num);
this.ti2.gotoAndStop(num);

}
on (rollOver) {
if (_root.link<>num) {
this.gotoAndPlay("s1");
}
}
on (releaseOutside, rollOut) {
if (_root.link<>num) {
this.gotoAndPlay("s2");
}
}
on (release) {
_root.pic_num = 7; (esto es lo que le puse al boton para que me cargara un frame del mc)
if (_root.link<>num and _root.animation == 1) {
_root.animation = 0;
_root.link_prev = _root.link;
_parent["item"+_root.link].gotoAndPlay("s2");
_root.link = num;
_root.play();
if (_root.f == 1) {
_root.gp.gpp.gotoAndPlay(2);
_root.gp.gpp.pics.play();
_root.lk = 2;
}

}
}

Espero que me podais ayudar.

Por sergiosx1

82 de clabLevel



 

firefox
Citar            
MensajeEscrito el 29 Sep 2008 09:13 pm
no entiendo muy bien que es lo que queres hacer
cargar unas fotos que estan en un mc?
en una caarpeta queres decir?

Por ironeric23

Claber

407 de clabLevel



Genero:Femenino  

mozilla
Citar            
MensajeEscrito el 29 Sep 2008 09:18 pm
en un movie clip.

Pero ya resolvi el problema!!!, Gracias

Por sergiosx1

82 de clabLevel



 

firefox
Citar            
MensajeEscrito el 29 Sep 2008 09:23 pm
OK

Por ironeric23

Claber

407 de clabLevel



Genero:Femenino  

mozilla

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.