Tengo un sitio hecho en PhP pero el menú está hecho en Actionscript 3.0 de forma dinámica. Todo funciona bastante bien pero cuando hago click en algun boton me envia a todas las direcciones del Array...
Abajo dejo el código a ver si alguien me puede decir que burrada estoy haciendo

Gracias!
public class Botones extends MovieClip
{
var links = ["http://www.miweb.net/index.html", "http://www.miweb.net/html/estrenos.php", "http://www.miweb.net/html/promociones.php", http://www.miweb.net/pruebas/html/conocenos.php", "http://www.miweb.net/pruebas/html/contacto.php"];
public function Botones() {
var etiquetas = ["Home", "Próximas Cosas", "Promociones", "Conócenos", "Contacto" ];
var nX = 0;
for ( var i = 0; i < etiquetas.length; i++) {
var miBoton:MovieClip = new Boton();
addChild( miBoton );
miBoton.txtEtiqueta.autoSize = "left";
miBoton.txtEtiqueta.text = etiquetas[i];
miBoton.mcFondo.width = miBoton.txtEtiqueta.width;
miBoton.txtEtiqueta.x = ( miBoton.mcFondo.width - miBoton.txtEtiqueta.width ) / 2;
miBoton.txtEtiqueta.y = ( miBoton.mcFondo.height - miBoton.txtEtiqueta.height ) / 2;
miBoton.buttonMode = true;
miBoton.mouseChildren = false;
miBoton.x = nX;
nX += miBoton.width + 2;
miBoton.mcRombo.alpha = 0;
miBoton.mcRombo.x = miBoton.mcFondo.width / 2 - miBoton.mcFondo.width / 2 + 24.875;
miBoton.mcRombo.y = miBoton.mcFondo.height /2 - miBoton.mcRombo.height / 2 + 9.875;
TweenMax.from( miBoton, 0.5, { alpha: 0.5, scaleY: -2, delay: i * 0.2, ease: Strong.easeOut } );
miBoton.addEventListener( MouseEvent.MOUSE_OVER, button_over );
miBoton.addEventListener( MouseEvent.MOUSE_OUT, button_out );
miBoton.addEventListener( MouseEvent.CLICK, button_click );
}
}
function button_over(evento) {
TweenMax.to(evento.target.mcRombo, 0.5, { rotation:720, scaleX:1, scaleY:1, alpha: 1, ease: Strong.easeInOut } );
TweenMax.to(evento.target.mcFondo, 0.5, {colorTransform:{tint:0xeb1c24, tintAmount:0.5}});
TweenMax.to( evento.target.mcFondo, 0.8, { alpha: 1, scaleY: 1.15, ease: Strong.easeOut } );
}
function button_out(evento) {
TweenMax.to(evento.target.mcRombo, 0.8, { alpha: 0, rotation:720, scaleX:0, scaleY:0,ease: Strong.easeInOut } );
TweenMax.to(evento.target.mcFondo, 0.5, {colorTransform:{tint:0x750004, tintAmount:0.5}});
TweenMax.to( evento.target.mcFondo, 0.2, { alpha: 1, scaleY: 1, ease: Strong.easeIn } );
}
function button_click(evento) {
trace( evento.target, evento.currentTarget );
trace( evento.target.link );
var url = links;
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, '_self');
} catch (e:Error) {
trace("Error occurred!");
}
}
}
}