Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/08/2009, 21:52
luchianac
 
Fecha de Ingreso: febrero-2006
Mensajes: 1
Antigüedad: 18 años, 2 meses
Puntos: 0
Botonera Flash - botón home accionado

Hola tengo un código que utilizo en una botonera, lo que necesito es que al entrar a la página el botón de home esté accionado.
Son 5 botones MC que dentro tienen en el fotograma N1 el siguiente código:

stop();
this.onRollOver = function() {
gotoAndPlay("sobre");
};
this.onRollOut = function() {
this.onEnterFrame = function() {
if (this._currentframe == 1) {
delete this.onEnterFrame;
} else {
this.prevFrame();
}
};
};
this.onRelease = function() {
eval("_level0.boton_pulsado_"+categoria).enabled=t rue
eval("_level0.boton_pulsado_"+categoria).gotoAndPl ay("salida")
this.gotoAndPlay("pulsado");
this.enabled = false;
_level0["boton_pulsado_"+categoria] = this;
};
this.onReleaseOutside = function() {
this.onRollOut();
};

Cuando hago roll over sobre cada botón se acciona el siguiente. Necesitaría que ni bien ingresas uno de todos ya está accionado. Que debo modificar del código?
Muchas gracias!