/    Sign up×
Community /Pin to ProfileBookmark

Rotate SWF files – HELP!

I have 3 small flash movies. I want to rotate them whenever a visitor refresh a page. So if you go to my website you watch the flash movie (banner) and when you go back again the next minute, hour or day, you’ll see a different movie.

I know there’s a a script to rotate swf files but I have searched for a month and can’t find one that will work!

My site is [url]http://www.braia.co.uk[/url]

You can see that banner at the top change each time you change page but that is because I have done it manually. I want to do it so it randonmly selects a swf on refresh/change page.

That way I can update the swf files alot more easily for holidays (valentines, easter, etc).

I can rename the swf files to movie1, movie2, movie3 if it makes it easier.

Please could you post a script and tell me where to place it and how to place it. I don’t even mind an external file that I can point to if it is easier to edit, but can you explain how I point to the file. I am using Dreamweaver CS.

THANK YOU!

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @thatitalian spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...