# Random graphic load - contained in one file?

**URL:** <https://forum.kirupa.com/t/random-graphic-load-contained-in-one-file/203347>\
**Category:** flash\
**Created:** [October 10, 2006, 11:54am UTC](https://forum.kirupa.com/t/random-graphic-load-contained-in-one-file/203347 "2006-10-10T11:54:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tct182](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@tct182](https://forum.kirupa.com/u/tct182)\
**Post date:** [October 10, 2006, 11:54am UTC](https://forum.kirupa.com/t/random-graphic-load-contained-in-one-file/203347/1 "2006-10-10T11:54:47Z")

</div>

Is it possible to create a simple script/file where you would have 10 graphics, each graphic containing a number from 1-10, and each time you click on a button/or the graphic it would select and load one of the graphics randomly?

The finished product would need to be in a single file… :beam:

Any ideas anyone?
