# MX 2004 - randomly loading movie clips (help meh)

**URL:** <https://forum.kirupa.com/t/mx-2004-randomly-loading-movie-clips-help-meh/116597>\
**Category:** Uncategorized\
**Created:** [July 19, 2004, 9:01pm UTC](https://forum.kirupa.com/t/mx-2004-randomly-loading-movie-clips-help-meh/116597 "2004-07-19T21:01:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![redmonika](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/redmonika/32/638_2.png) [@redmonika](https://forum.kirupa.com/u/redmonika)\
**Post date:** [July 19, 2004, 9:01pm UTC](https://forum.kirupa.com/t/mx-2004-randomly-loading-movie-clips-help-meh/116597/1 "2004-07-19T21:01:10Z")

</div>

I need to make something that mimicks The Dancer over at [http://www.globz.com](http://www.globz.com)

I’ve created all the movie clips  
but I don’t know where to start with the loading and unloading of the dancing bits

The buttons at the bottom scroll through movie clips with different movement. So the “arms” button would load arms01, then when it’s clicked again, it would load arms02, clicked again it would load arms03, and then repeat when it reached the end

Can anyone help me with the actionscript that would reside on each button?

:mario:

---

<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:** [July 20, 2004, 7:23pm UTC](https://forum.kirupa.com/t/mx-2004-randomly-loading-movie-clips-help-meh/116597/2 "2004-07-20T19:23:54Z")

</div>

alright so I’ve thought up a different way to go about this (but still stuck):

I have a movie clip, with other movie clips nested inside of them. All the arms, bodies, and legs in their own movie clip and have the nested options for the body parts inside.

I need the button to move the playhead down the timeline to the different movie clips nested inside. Once the last MC (end of the timeline) is played, I need it to go back to the first MC (beginning of the timeline).

Can anyone help me with an example of the actionscript that would go on a button?

---

<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:** [July 21, 2004, 6:12pm UTC](https://forum.kirupa.com/t/mx-2004-randomly-loading-movie-clips-help-meh/116597/3 "2004-07-21T18:12:11Z")

</div>

so I tried a simple gotoandStop(“frame label”) but that doesn’t really work  
It goes to the next frame, but I need it to move down the timeline atleast five times

example:  
click - mc one to mc two - click - mc two to mc three - click - mc three to mc four… click - mc five BACK to mc one

is this really possible on a button? or do I need to make a movie clip to mimic a button?
