# Game using random frame feature

**URL:** <https://forum.kirupa.com/t/game-using-random-frame-feature/123292>\
**Category:** Uncategorized\
**Created:** [September 22, 2004, 9:27am UTC](https://forum.kirupa.com/t/game-using-random-frame-feature/123292 "2004-09-22T09:27:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerb\_UK](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gerb_uk/32/396_2.png) [@Gerb\_UK](https://forum.kirupa.com/u/Gerb_UK)\
**Post date:** [September 22, 2004, 9:27am UTC](https://forum.kirupa.com/t/game-using-random-frame-feature/123292/1 "2004-09-22T09:27:21Z")

</div>

Hi,

I’m building a game where on the press of a button a movie clip jumps to a random frame to display a question.

I know how to choose a random frame, but I need to be able to choose a random frame between two specific points, say from between frame 8 and 32.

Secondly, once a particular question has been chosen once, I don’t want it to be available to be chosen again until all of the other questions have been viewed - to stop repeated questions.

Any idea how I can do this – my actionscript is still a little basic 😊

Thanks…
