muchas gracias!! saludos.
Código ActionScript :
stop();
b1_btn.alpha=0;
b2_btn.alpha=0;
menu1_btn.addEventListener(MouseEvent.CLICK, menu1_btn_ROLLOVER);
function menu1_btn_ROLLOVER(e:MouseEvent):void {
b1_btn.alpha=1;
b2_btn.alpha=1;
active.addEventListener(MouseEvent.ROLL_OVER, active_ROLLOVER);
}
function active_ROLLOVER(e:MouseEvent):void {
b1_btn.alpha=0;
b2_btn.alpha=0;
}
b1_btn.addEventListener(MouseEvent.CLICK,submenu1A);
function submenu1A(event:MouseEvent):void {
gotoAndStop("2");
}
b2_btn.addEventListener(MouseEvent.CLICK,submenu1B);
function submenu1B(event:MouseEvent):void {
gotoAndStop("3");
}
b5_btn.alpha=0;
b6_btn.alpha=0;
menu2_btn.addEventListener(MouseEvent.CLICK, menu2_btn_ROLLOVER2);
function menu2_btn_ROLLOVER2(e:MouseEvent):void {
b5_btn.alpha=1;
b6_btn.alpha=1;
active.addEventListener(MouseEvent.ROLL_OVER, active_ROLLOVER2);
}
function active_ROLLOVER2(e:MouseEvent):void {
b5_btn.alpha=0;
b6_btn.alpha=0;
}
b5_btn.addEventListener(MouseEvent.CLICK,submenu2A);
function submenu2A(event:MouseEvent):void {
gotoAndStop("6");
}
b6_btn.addEventListener(MouseEvent.CLICK,submenu2B);
function submenu2B(event:MouseEvent):void {
gotoAndStop("7");
}
[BOFH]Cuando escribas código AS enciérralo entre las etiquetas [*as] y [*/as] (sin los asteriscos) para que sea más legible. The Fricky![/BOFH]
