Hello,

I'm trying to get scripts that will enable me rotate flash movies every time a page is loaded in essence i have various flash movies and i want different ones to be displayed anytime the page loads.

Thanks

This is best done via server-side code. Any client-side code would probably involve pre-loading lots of Flash movies: a bad idea.

You might consider a random number generation and the use of document.writeln to write an edited set of HTML into the page to select a Flash file based off the random number. This wouldn't need the preloading of all the Flash objects as suggested before.

The various "document.write()" methods are deprecated, and will not work in all doctypes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.