Frame 1
status_playing = true;
status_paused = false;
playbtn.enabled = false;
pausebtn.enabled = true;
stopbtn.enabled = true;
gotoAndPlay (2);
Frame 3700
status_playing = false;
status_paused = false;
playbtn.enabled = true;
pausebtn.enabled = false;
stopbtn.enabled = false;
stop();
Symbol 5 Button
on (release) {
if (status_playing) {
if (status_paused) {
status_paused = false;
playbtn.enabled = false;
pausebtn.enabled = true;
play();
}
} else {
status_playing = true;
playbtn.enabled = false;
pausebtn.enabled = true;
stopbtn.enabled = true;
gotoAndPlay (2);
}
}
Symbol 9 Button
on (release) {
if (status_playing) {
if (status_paused) {
status_paused = false;
playbtn.enabled = false;
pausebtn.enabled = true;
play();
} else {
status_paused = true;
playbtn.enabled = true;
pausebtn.enabled = true;
stop();
}
}
}
Symbol 13 Button
on (release) {
status_playing = false;
playbtn.enabled = true;
pausebtn.enabled = false;
stopbtn.enabled = false;
stop();
}