# Help! Play/Pause MC AS not working

**URL:** <https://forum.kirupa.com/t/help-play-pause-mc-as-not-working/216916>\
**Category:** flash\
**Created:** [February 21, 2007, 5:30pm UTC](https://forum.kirupa.com/t/help-play-pause-mc-as-not-working/216916 "2007-02-21T17:30:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hinton2](https://avatars.discourse-cdn.com/v4/letter/h/50afbb/32.png) [@hinton2](https://forum.kirupa.com/u/hinton2)\
**Post date:** [February 21, 2007, 5:30pm UTC](https://forum.kirupa.com/t/help-play-pause-mc-as-not-working/216916/1 "2007-02-21T17:30:04Z")

</div>

Im creating a simple movie clip that consists of 3 looping images - along with a play/pause button, a next button and a previous button.

The actionscript I have got to stop the keyframe at an image conflicts with the actionscript to pause the movie:

Holding the keyframe:

[COLOR=navy]stop();  
pause = function () {  
play();  
clearInterval(pausei);  
};  
pausei = setInterval(pause, 3000);[/COLOR]  
[COLOR=#000080][/COLOR]  
Pause actionscript:[COLOR=#000080][/COLOR]  
[COLOR=#000080]on(press){  
nav\_playmc.\_visible=true;  
nav\_pause.\_visible=false;  
stop();  
} [/COLOR]  
[COLOR=#000080][/COLOR]  
[COLOR=#000080][COLOR=#000000]Play actionscript: [/COLOR]

[COLOR=#000080]on(press){  
nav\_playmc.\_visible=false;  
nav\_pause.\_visible=true;  
gotoAndPlay(\_currentframe+1);  
}  
[/COLOR]

[COLOR=black]help please :)[/COLOR]  
[/COLOR]
