Hello, I know this is probably simple for most actionscripters…
Im trying to create movieclip navigation…meaning…when you click on one mc, it play’s it’s “in” labeled frame…and it will play the “out” labeled frame when another movieclip is pressed. Here is my non-working code.
var activeRegion;
function getwest (event:MouseEvent):void{
if ( activeRegion != mcWest ){
activeRegion.gotoAndPlay(“out”);
mcWest.gotoAndPlay(“in”);
activeRegion = mcWest;
}
}
mcWest.addEventListener(MouseEvent.CLICK, getwest) ;
function getMidwest (event:MouseEvent):void{
if ( activeRegion != mcMidwest ){
activeRegion.gotoAndPlay(“out”);
mcMidwest.gotoAndPlay(“in”);
activeRegion = mcMidwest;
}
}
mcMidwest.addEventListener(MouseEvent.CLICK, getMidwest) ;