Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / February 2007



Tip: Looking for answers? Try searching our database.

Multiple Images Questions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
euanuk - 28 Feb 2007 13:39 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.