# Pause a MovieClip

**URL:** https://forum.kirupa.com/t/pause-a-movieclip/330669
**Category:** flash
**Created:** [February 24, 2013, 6:09pm UTC](https://forum.kirupa.com/t/pause-a-movieclip/330669 "2013-02-24T18:09:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Arnab\_Dutta](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Arnab\_Dutta](https://forum.kirupa.com/u/Arnab_Dutta)
#### Post date: [February 24, 2013, 6:09pm UTC](https://forum.kirupa.com/t/pause-a-movieclip/330669/1 "2013-02-24T18:09:57Z")

</div>

I have a movieclip mc\_content. I am using it to slideshow 200 images. I am using this code for transition-  
stop();  
setInterval(myFunction, 6000);

function myFunction()  
{  
import mx.transitions._;  
import mx.transitions.easing._;  
if(mc\_content.\_currentframe==mc\_content.\_totalframes){  
mc\_content.gotoAndStop(mc\_content.\_currentframe)  
}else{  
TransitionManager.start(mc\_content, {type:Fade, direction:Transition.IN,  
duration:2, easing:None.easeNone, numStrips:20, dimension:5});  
mc\_content.nextFrame();  
}  
}

I have a pause button at main timetine and using the code;-  
on (press)  
{  
mc\_content.stop();  
}  
But its not working. Plz help me. I want to use the pause button to pause the movieclip at any image where I click it.
