Play pause toggle button
Hi,
I'm new to Flash. Kindly help anyone.
Need assistance to create toggle button. Here attaced two screenshots.
1. inner-animation.jpg - it contains all movie clips and play pasue controls.

2.main-animation.jpg - this is the main timeline ( inside all movie clips & control buttons)

3.playbuton-inside.jpg - its a button symbol ( as well as pause )

4. There also bg music and sounds for some particular animation.
Here all working fine. But i need play & pause animation as a toggle button.
Here is the code i added for pause:
play();
pause_btn.onRelease=function(){
stop();
}
Here is the code i added for pause:
stop();
play_btn.onRelease=function (){
play();
}
