var abbleToPlay:Boolean = true; mc.onRelease = funсtion(){ (!abbleToPlay)? mc.play() : mc.stop() abbleToPlay = !abbleToPlay }