Help me please
Im trying to make a game and i want to make a button that silent one sound of the other button and if i press the other button it silent the first button sound this is my code:
import flash.events.MouseEvent;
import flash.media.SoundMixer;
CephalopodMostrar.addEventListener(MouseEvent.MOUSE_DOWN, PruebaCephalopod);
IceFlowMostrar.addEventListener(MouseEvent.MOUSE_DOWN, PruebaIceflow);
function PruebaCephalopod(Event:MouseEvent):void{
CephalopodMostrar.gotoAndStop(2);
IceFlowMostrar.gotoAndStop(1);
}
function PruebaIceflow(Event:MouseEvent):void{
IceFlowMostrar.gotoAndStop(2);
CephalopodMostrar.gotoAndStop(1);
}