# Script Help

**URL:** https://forum.kirupa.com/t/script-help/176603
**Category:** flash
**Created:** [January 25, 2006, 1:03pm UTC](https://forum.kirupa.com/t/script-help/176603 "2006-01-25T13:03:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![andrewparker](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@andrewparker](https://forum.kirupa.com/u/andrewparker)
#### Post date: [January 25, 2006, 1:03pm UTC](https://forum.kirupa.com/t/script-help/176603/1 "2006-01-25T13:03:38Z")

</div>

Hello all,

I am trying to create a movie where a series of MovieClips play in a random order.

I have it set up as so:

Root timeline - 55 frames

Frame 1 - script telling playhead to go to frame 55  
Frames 2 to 18 - 17 movieclips, 120 frames long with a simple fade in/fade out of a logo. Also script on end frame telling playhead to go to frame 55 of main timeline.  
Frame 55 - script telling playhead to randomly select a frame between 2 and 18.

Questions are a) is this going to work and b) can someone tell me what the script should be as I don’t know any ActionScript.

p.s. Do I need a stop actions on the main timeline where the movies are located?
