Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/08/2007, 09:57
Avatar de Mahalo
Mahalo
 
Fecha de Ingreso: julio-2004
Ubicación: Mallorca (Illes Balears)
Mensajes: 1.121
Antigüedad: 19 años, 8 meses
Puntos: 12
Re: trabajo con load movie

Bueno, pues la primera opción sería algo así:
Código:
var seccion:String = "inicio";
this.imagenes_btn.onRelease = function() { //boton imagenes
   if (seccion!=="imagenes") { // comprueba si imagenes no está abierto
      seccion = "imagenes";
      // Aquí acciones para abrir sección imágenes
   }
}
Y así con cada botón.

La opción de deshabilitar el botón será así:
Código:
this.imagenes_btn.onRelease = function() {
   _root.inicio_btn.enabled = true; // se habilitan el resto de botones
   _root.contacto_btn.enabled = true;
   ...
   this.enabled = false; // se deshabilita el botón que se ha pulsado
   // Aquí acciones para abrir sección imágenes
}
Saludos!