Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

different movie each time page loads

Status
Not open for further replies.

rebootmt

IS-IT--Management
May 24, 2008
1
US
Hi,
I'm not sure if this is an action script or not...but I have 6 movies within flash that I would like to run each time there is a page loaded. For example, if person A comes to the site, they would see Movie1, then when person B comes and loads the page another movie would show, like movie 2. So each time the site loads the page, a new movie would load, and it would just rotate through all six movies. Is this possible to do?
Thanks for any help!!
 
You can with actionscript, have one random movie (out of 6 movies) play upon each page load...
Don't think you can necessarily have a different movie play when it comes to 2 or more different users... But you could, through a sharedObject (a Flash cookie...), store on each user machine the name/number of the last viewed movie, so that if the next random movie chosen, happens to be the same, then another movie can be chosen, to make sure no movie is ever scene twice in a row...

Regards. FLASH HELP - OPENED FOR BUSINESS!
TO GET YOUR OWN FREE WEBSITE HOSTING
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top