# Random Movie

**URL:** <https://forum.kirupa.com/t/random-movie/152278>\
**Category:** flash\
**Created:** [June 22, 2005, 4:42pm UTC](https://forum.kirupa.com/t/random-movie/152278 "2005-06-22T16:42:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flux](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/flux/32/1418_2.png) [@Flux](https://forum.kirupa.com/u/Flux)\
**Post date:** [June 22, 2005, 4:42pm UTC](https://forum.kirupa.com/t/random-movie/152278/1 "2005-06-22T16:42:08Z")

</div>

Hey

Me again 😑  
Right this is the actionscript ive got to load the mp3

```auto
if (percent == 100) {
gotoAndStop(3);
_root.contents.loadMovie("home.swf");
_root.music.loadMovie("mp3.swf");
} else {
gotoAndPlay(1);
}

```

I would like to load a random mp3, like mp31 mp32 mp33 ect… so different tracks are loaded

I ve looked up the random movie load tutorial but feel it dont help me as ive followed the kirupa tutorial on a full flash site, so it loads it within the movie from a instant named “music”

How can i randomize the loading in the instant?
