Loading random background tutorial Q

I was just reading the testing the tutorials regarding loading a random background. I have tried this and worked!

BUT!..

I tried this for my flash document but the background covers everything else.

The keyframe, in which the script for loading the random image is in, is in a layer under a layer where my title is in. But when it loads the image, it appears on top of my image.

I’m trying to make an interactive DVD and want it so that my background changes each time you load the .swf file. (If possible to make it change also whenever you come back to the home page after visiting another page in it)

How do I solve this problem?