# Play from different frames upon each new load

**URL:** <https://forum.kirupa.com/t/play-from-different-frames-upon-each-new-load/312471>\
**Category:** flash\
**Created:** [August 4, 2010, 9:13am UTC](https://forum.kirupa.com/t/play-from-different-frames-upon-each-new-load/312471 "2010-08-04T09:13:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xtidesign](https://avatars.discourse-cdn.com/v4/letter/x/82dd89/32.png) [@xtidesign](https://forum.kirupa.com/u/xtidesign)\
**Post date:** [August 4, 2010, 9:13am UTC](https://forum.kirupa.com/t/play-from-different-frames-upon-each-new-load/312471/1 "2010-08-04T09:13:17Z")

</div>

I’m interested in having my flash movie play at say, frame 50 and then if you refresh - it will again select a predefined (but randomly selected) frame to play from.

So, the order could be as follows:  
Refresh - frame 50  
Refresh - frame 150  
Refresh - frame 150  
Refresh - frame 300  
Refresh - frame 50  
Refresh - frame 100

and so on.

I’m not sure how to code this.

Thanks.
