Hi,
I am a total beginner with Flash however I have bought a template for my
website and wish to make some additions to it.
Basically when the template loads up it always has a main image present and
the page options down one side. What I would like to do is have multiple images
set for the opening image so that everytime you enter the site you will view a
different main image.
I'm sorry if I haven't explained this correctly. If you follow this link
www.gsa.ac.uk and hit refresh a few times you should get what I mean.
Is there some sort of online guide I can follow to do this ?
Thanks
Euan
JenniferLinnHarmon@gmail.com - 28 Feb 2007 16:43 GMT
> Hi,
>
[quoted text clipped - 13 lines]
>
> Euan
One way you could do it is by converting your image into a movieclip
where you place each possible image into a new keyframe. then on your
main timeline add code like this...
var numOfImages = 4;
var randImage:Number = Math.ceil(Math.random()*numOfImages);
images.gotoAndStop(randImage);
numOfImages should be set to however many images you add to your
timeline and "images" is the name of the movieclip holding all the
images.