# Random image loading from txt file

**URL:** <https://forum.kirupa.com/t/random-image-loading-from-txt-file/91191>\
**Category:** Uncategorized\
**Created:** [September 30, 2003, 7:37am UTC](https://forum.kirupa.com/t/random-image-loading-from-txt-file/91191 "2003-09-30T07:37:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cello](https://avatars.discourse-cdn.com/v4/letter/c/f17d59/32.png) [@Cello](https://forum.kirupa.com/u/Cello)\
**Post date:** [September 30, 2003, 7:37am UTC](https://forum.kirupa.com/t/random-image-loading-from-txt-file/91191/1 "2003-09-30T07:37:43Z")

</div>

Hi all - need your help; am having major brain burp…

I want to have a background image that randomly loads from a list of \*.jpg files in a txt file. The txt file is to be edited by user (to add a new image) without accessing the code contained in the .fla, and the txt file gives the location of the images.

It is possible I know - but my old head isn’t working. :h:

I need this for a charity that I do free work for; any pointers would be a huge help.

(Have searched forums, BTW, but nothing exactly matches - honest :beam: )

Thx all.
