# Random star frame?

**URL:** https://forum.kirupa.com/t/random-star-frame/179271
**Category:** flash
**Created:** [February 18, 2006, 7:52am UTC](https://forum.kirupa.com/t/random-star-frame/179271 "2006-02-18T07:52:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![John\_Swedish](https://avatars.discourse-cdn.com/v4/letter/j/a698b9/32.png) [@John\_Swedish](https://forum.kirupa.com/u/John_Swedish)
#### Post date: [February 18, 2006, 7:52am UTC](https://forum.kirupa.com/t/random-star-frame/179271/1 "2006-02-18T07:52:59Z")

</div>

Random start frame.

I’m working on a looping banner… The banner is showing four different images… I would like to make the first image to bee shown randomly.

Image 1 = start on frame 15  
Image 2 = start on frame 55  
Image 3 = start on frame 95  
Image 4 = start on frame 130

gotoAndPlay(X);

1). Where X can be frame 15, 55, 95 or 130.  
2). Where frame X will be randomly selected between this four numbers (15, 55, 95 or 130)…

This sounds like an easy thing to do, but not for me. Hahah

//Offshore Business Magazine  
[www.magverlag.com](http://www.magverlag.com/)  
[john\_swedish@yahoo.com](mailto:john_swedish@yahoo.com)
