<webforumsuser@macromedia.com> wrote:
> Sure!
>
> This is pretty simple(and pretty popular) so I'm sure there are a host of
> tutorials/samples you could learn from. Try
www.flashkit.com ,
www.kirupa.com > ,
>
www.actionscript.org , and of course
www.google.com >
> To load an external .jpg, you use the actionscript command:
> loadMovie("full path and name of movie","target MovieClip for it to load into)
> or
> loadMovieNum("full path and name of movie",1) //where 1 is a 'level' which is
> like a layer for external movies; your'e main movie is always level 0, so this
> wouldnt work for background
>
> So let's say you had 10 .jpg files, all already sized to fit your flash doc
> perfectly, and all named "back"+number, ex "back1" , "back2"
>
> You could use this on frame 1 of your movie:
> n=random(10)+1;//+1 because random creates a number from 0 to the number in ()
> - 1, in this case 0-9.
> blank_mc.loadMovie("back"+n)
>
> then just create a blank movie clip, position it at (0,0), put on a background
> layer, and give it an instance name(in propery panel) of "blank_mc"
>
> HTH
>