# Loading Random Images From A Folder

**URL:** <https://forum.kirupa.com/t/loading-random-images-from-a-folder/217284>\
**Category:** flash\
**Created:** [February 25, 2007, 7:52am UTC](https://forum.kirupa.com/t/loading-random-images-from-a-folder/217284 "2007-02-25T07:52:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomyknoker](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@tomyknoker](https://forum.kirupa.com/u/tomyknoker)\
**Post date:** [February 25, 2007, 7:52am UTC](https://forum.kirupa.com/t/loading-random-images-from-a-folder/217284/1 "2007-02-25T07:52:12Z")

</div>

Hi All,

I have a little Flash header and each time it loads I want it to load one of six images randomly, onto the stage as a background… The images will be sitting in a folder in the same directory as the Flash file so they can easily be updated, anyone ever done this? Some opinions would be much appreciated!
