tengo un MC que tiene un layer con 5 fotogramas distintos en cada uno de ellos hay una palabra distinta para cada uno de los botones del menu
asi
[/url]
quiero linkiar cada boton a una url pero nose como
segun se tengo que usar
Código :
stop(); getURL("http://www.google.com", "_blank"
pero nose como ni donde empezar
en la escena principal tiene este codigo
Código :
var i = 1; while (i <= 5) { var butNum = _root.menu["b" + i]; var butNum2 = _root.footer["b" + i]; butNum2.index = i; butNum.index = i; butNum.bt_name.gotoAndStop(i); butNum2.bt_name.gotoAndStop(i); butNum.onRollOver = function () { if (this.index != _root.link) { this.gotoAndPlay("s1"); } // end if }; butNum.onRollOut = function () { if (this.index != _root.link) { this.gotoAndPlay("s2"); } // end if }; butNum2.onRollOver = function () { if (this.index != _root.link) { this.gotoAndPlay("s1"); } // end if }; butNum2.onRollOut = function () { if (this.index != _root.link) { this.gotoAndPlay("s2"); } // end if }; butNum.onRelease = function () { if (this.index != _root.link && _root.sel != 1) { _root.menu.btt._y = -3; _root.footer.bt._y = 17; _root.menu["b" + _root.link].gotoAndPlay("s2"); _root.footer["b" + _root.link].gotoAndPlay("s2"); _root.link = this.index; _root.footer["b" + _root.link].gotoAndPlay("s1"); _root.play(); } // end if }; butNum2.onRelease = function () { if (this.index != _root.link && _root.sel != 1) { _root.menu.btt._y = -3; _root.footer.bt._y = 17; _root.menu["b" + _root.link].gotoAndPlay("s2"); _root.footer["b" + _root.link].gotoAndPlay("s2"); _root.link = this.index; _root.menu["b" + _root.link].gotoAndPlay("s1"); _root.play(); } // end if }; ++i; } // end while _root.link = 1; _root.footer.b1.gotoAndStop(10); _root.menu.b1.gotoAndStop(33);
aqui esta el archivo , espero me puedan orientar mientras sigo averiguando gracias
[url=http://dtc.intrabytes.com.ar/www.argentinatrabaja.org/main2.fla]