Ver Mensaje Individual
  #5 (permalink)  
Antiguo 04/11/2009, 15:33
mati_vlnc
 
Fecha de Ingreso: noviembre-2009
Mensajes: 5
Antigüedad: 14 años, 6 meses
Puntos: 0
Respuesta: ayuda con codigo boton flash para ir a html

Cita:
Iniciado por xcvb0 Ver Mensaje
El codigo que te he puesto CREO (no estoy seguro 100%) que solo funciona si el swf esta metido en una pagina html (archivo->vista previa de la publicacion->html)
ok.
estoy probando lo que me has dicho y he puesto otro codigo:

botonpano.addEventListener (MouseEvent.CLICK, irapanorama);
botonloca.addEventListener (MouseEvent.CLICK, iralocalizacion);
botonacces.addEventListener (MouseEvent.CLICK, iraaccesibilidad);
botonservi.addEventListener (MouseEvent.CLICK, iraservicios);
botondatos.addEventListener (MouseEvent.CLICK, iradatos);

function irapanoramica (event:MouseEvent) : void {
on (release) {
getURL ("indice.html", "_blank");
}
}
function iralocalizacion (event:MouseEvent) : void {
on (release) {
getURL ("localizacion.html", "_blank");
}
}
function iraaccesibilidad (event:MouseEvent) : void {
on (release) {
getURL ("accesibilidaduso.html", "_blank");
}
}
function iraservicios (event:MouseEvent) : void {
on (release) {
getURL ("servicioscercanos.html", "_blank");
}
}
function iradatos (event:MouseEvent) : void {
on (release) {
getURL ("datosinteres.html", "_blank");
}
}

y tampoco me funciona.
tengo bien escrito el codigo o he hecho algun desastre??