# \[FMX\] Random Background tutorial

**URL:** https://forum.kirupa.com/t/fmx-random-background-tutorial/92637
**Category:** Uncategorized
**Created:** [October 20, 2003, 12:16am UTC](https://forum.kirupa.com/t/fmx-random-background-tutorial/92637 "2003-10-20T00:16:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![beatgenxer](https://avatars.discourse-cdn.com/v4/letter/b/f9ae1b/32.png) [@beatgenxer](https://forum.kirupa.com/u/beatgenxer)
#### Post date: [October 20, 2003, 12:16am UTC](https://forum.kirupa.com/t/fmx-random-background-tutorial/92637/1 "2003-10-20T00:16:40Z")

</div>

I’ve just completed the random background tutorial (thanks for making it so easy to follow!)

My questions are:

1. Is there a way to alter the code so it’s not random, but instead follows a preset list of images? So, instead of pressing a button and randomly choosing from the 5 images, it would go through the list starting with image0

2. Is there a way to preload the first image so it shows up when the viewer goes to the main page (where the background changes first occur)?

3. If someone goes to a new scene within the larger movie, would I have to place the same code and button on every page and the viewer would have to load the background image every time?

Thanks in advance!
