Ver Mensaje Individual
  #7 (permalink)  
Antiguo 27/04/2012, 01:30
freddycam
 
Fecha de Ingreso: abril-2012
Ubicación: CIUDAD REAL
Mensajes: 33
Antigüedad: 12 años
Puntos: 0
Respuesta: Vincular varios botones con url´s diferentes

He conseguido lo que quería con otro código y además me ha arreglado ya lo del bucle.

Dejo el código para el que le pueda servir:

import flash.events.MouseEvent;

function irainicio(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.cvpatasarriba.es/"));
}
function iraequipo(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.cvpatasarriba.es/quienessomos.htm"));
}
function iraservicios(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.cvpatasarriba.es/servicios.htm"));
}
function iragaleria(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.cvpatasarriba.es/galeria.htm"));
}
function iraarticulos(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.cvpatasarriba.es/articulos.htm"));
}
function iratablon(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.cvpatasarriba.es/tablon.htm"));
}
function iralocalizacion(event:MouseEvent):void
{
navigateToURL(new URLRequest("http://www.cvpatasarriba.es/contacto.htm"));
}

botonInicio.addEventListener(MouseEvent.CLICK,irai nicio);
botonEquipo.addEventListener(MouseEvent.CLICK,irae quipo);
botonServicios.addEventListener(MouseEvent.CLICK,i raservicios);
botonGaleria.addEventListener(MouseEvent.CLICK,ira galeria);
botonArticulos.addEventListener(MouseEvent.CLICK,i raarticulos);
botonTablon.addEventListener(MouseEvent.CLICK,irat ablon);
botonLocalizacion.addEventListener(MouseEvent.CLIC K,iralocalizacion);