Comunidad de diseño web y desarrollo en internet online

botonera que controla MCs

Citar            
MensajeEscrito el 03 Jun 2009 11:40 pm
hola,

Tengo 6 botones con nombre sde instancias: btn1, btn2, btn3, btn4, btn5, btn6.
Por otro lado tengo 6 mc con nombres de inst: clip_1,clip_2,clip_3,clip_4,clip_5,clip_6.

quiero que el boton "btn1" controle al clip "clip_1" con el siguiente codigo que no funciona dicho sea de paso... y no encuentro el porque :lol:

help!!

Código :

construir_clips();
function construir_clips() {
   for (var j = 1; j<7; j++) {
      eval ("btn"+j).onRelease = function(){
         if (activ != this["clip_"+j]) {
            this["clip_"+j].gotoAndPlay("ini");
         }
         else{
            this["clip_"+j].gotoAndStop("stop");
         }
      }
   }
}

Por GA

26 de clabLevel



Genero:Femenino  

firefox
Citar            
MensajeEscrito el 04 Jun 2009 01:23 pm
usa mejor prototipos

Por inFlash

1 de clabLevel



 

firefox

 

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