Frame 1
status_playing = true;
status_paused = false;
playbtn.enabled = false;
pausebtn.enabled = true;
stopbtn.enabled = true;
gotoAndPlay (2);
Frame 1568
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 10 Button
on (release) {
status_playing = false;
playbtn.enabled = true;
pausebtn.enabled = false;
stopbtn.enabled = false;
stop();
}
Symbol 15 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();
}
}
}