# How to load random bg images?

**URL:** <https://forum.kirupa.com/t/how-to-load-random-bg-images/140011>\
**Category:** Uncategorized\
**Created:** [March 7, 2005, 8:37pm UTC](https://forum.kirupa.com/t/how-to-load-random-bg-images/140011 "2005-03-07T20:37:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![colorflash](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@colorflash](https://forum.kirupa.com/u/colorflash)\
**Post date:** [March 7, 2005, 8:37pm UTC](https://forum.kirupa.com/t/how-to-load-random-bg-images/140011/1 "2005-03-07T20:37:10Z")

</div>

do you know a tutorial on how to load different background images into the flash movie, so that they appear randomly (each time a different image, not in the same order). I would think to put the imgs into external swf and then load them into my main swf, but how do I get the random effect?  
I’m using flash mx by the way 🙂
