[FONT=Arial][SIZE=2][COLOR=#000000]Hello,
I created some movieclip buttons, set a statement to disable it, but I can’t enable them again when another button is selected how can i resolve this?[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=#000000]thank you[/COLOR][/SIZE][/FONT]
pack.addEventListener(MouseEvent.CLICK, loadAuto);
function loadAuto(e:MouseEvent):void {
portafolio.loadAlbum("pack","1");
if (e.target==pack) {
pack.enabled=false;
pack.gotoAndStop( "disabled" );
} else {
pack.enabled=true;
pack.gotoAndStop( "_up" );
}
}
auto.addEventListener(MouseEvent.CLICK, loadPack);
function loadPack(e:MouseEvent):void {
portafolio.loadAlbum("auto","1");
if (e.target==auto) {
auto.enabled=false;
auto.gotoAndStop( "disabled" );
} else {
auto.enabled=true;
auto.gotoAndStop( "_up" );
}
}