Gracias!
Código:
consultoria_btn.addEventListener (MouseEvent.ROLL_OVER, whoOver);
consultoria_btn.addEventListener (MouseEvent.ROLL_OUT, whoOut);
consultoria_btn.addEventListener (MouseEvent.CLICK, whoClick);
function whoOver (event:MouseEvent): void {
consultoria_btn.gotoAndStop ("rollover");
}
function whoOut (event:MouseEvent): void {
consultoria_btn.gotoAndPlay ("rollout");
}
function whoClick (event:MouseEvent): void {
consultoria_btn.removeEventListener (MouseEvent.ROLL_OVER, whoOver);
consultoria_btn.removeEventListener (MouseEvent.ROLL_OUT, whoOut);
consultoria_btn.removeEventListener (MouseEvent.CLICK, whoClick);
consultoria_btn.buttonMode=false;
institucional_btn.addEventListener (MouseEvent.ROLL_OVER, instiOver);
institucional_btn.addEventListener (MouseEvent.ROLL_OUT, instiOut);
institucional_btn.addEventListener (MouseEvent.CLICK, instiClick);
institucional_btn.buttonMode=true;
institucional_btn.gotoAndStop ("rollout");
var consul:flash.display.MovieClip = new consultoría_mc();
contenedor.addChild(consul);
consul.x=1.0
consul.y=0;
}
consultoria_btn.buttonMode=true;


