Link to home
Create AccountLog in
Avatar of uomobello
uomobelloFlag for United States of America

asked on

cycle through flash banner ads with ActionScript 3.0

I'd like to cycle through 3 Flash banner ads in an endless loop using ActionScript 3.0. I'm imagining the script would call the first swf file, say 1.swf, wait 20 seconds, then increment the file name, say 2.swf, wait 20 sec, increment file name to 3.swf, wait 20 sec, then start over.

I'm guessing there would be a base swf file, mainBanner.swf, which is referenced by the HTML and within which the ActionScript would be placed.

...is this possible?
ASKER CERTIFIED SOLUTION
Avatar of Aneesh Chopra
Aneesh Chopra
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of uomobello

ASKER

It took some tweaking and quite a bit of trial and error to get all the pieces to fit properly, but in the end it's working perfectly. Just what I needed.

Thank you!