# Random pause and play of a MC

**URL:** <https://forum.kirupa.com/t/random-pause-and-play-of-a-mc/173003>\
**Category:** flash\
**Created:** [December 20, 2005, 8:36am UTC](https://forum.kirupa.com/t/random-pause-and-play-of-a-mc/173003 "2005-12-20T08:36:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Foxtrot](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/foxtrot/32/1227_2.png) [@Foxtrot](https://forum.kirupa.com/u/Foxtrot)\
**Post date:** [December 20, 2005, 8:36am UTC](https://forum.kirupa.com/t/random-pause-and-play-of-a-mc/173003/1 "2005-12-20T08:36:44Z")

</div>

Hello, need some help with actionscript (arrays?).

I have a small looping MC (10 frames). It needs to play endlessly and  
pause and play (without hickups) at a random frame after 1 to 5 loops.

My clip is a bird with wingmotion. Bird needs a rest once in a while 😉

Thanks in advance for replies.
