# Stopping and playing a movieClip. Help please

**URL:** <https://forum.kirupa.com/t/stopping-and-playing-a-movieclip-help-please/59970>\
**Category:** flash\
**Created:** [August 5, 2004, 6:24am UTC](https://forum.kirupa.com/t/stopping-and-playing-a-movieclip-help-please/59970 "2004-08-05T06:24:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mx\_guest2004](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mx\_guest2004](https://forum.kirupa.com/u/mx_guest2004)\
**Post date:** [August 5, 2004, 6:24am UTC](https://forum.kirupa.com/t/stopping-and-playing-a-movieclip-help-please/59970/1 "2004-08-05T06:24:58Z")

</div>

Hei,  
I have a MC with this code as a simple animation:  
[AS]  
onClipEvent(load){  
this.\_alpha=0;  
}  
onClipEvent(enterFrame){  
this.\_alpha=Math.random()\*90;  
}  
[/AS]  
Can I have some control on stopping and playing this MC from the timeline?  
I have tried MC.stop(); in a frame in the timeline but the movieClip is still playing.  
mx-guest2004

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2004, 8:27am UTC](https://forum.kirupa.com/t/stopping-and-playing-a-movieclip-help-please/59970/2 "2004-08-05T08:27:32Z")

</div>

You have to dele the enterFrame function, here is an example
