So I've got a button programmed to play a movieclip. Is it possible to program that button so that pressing it a second time will then stop that movieclip?
sure:
var buttonToggle:Boolean;
function buttonListenerFunction(e:MouseEvent):void{
if(!buttonToggle){
yourmovieclip.play();
} else {
yourmovieclip.stop();
}
buttonToggle=!buttonToggle;
Retrieving data ...