FORUMS: list search recent posts

Flash ad banners

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Flash ad banners
on Sep 27, 2007 at 11:02:36 pm

First of all let me say I am new to flash. I am try to rotate banner ads that rotate based on page refresh. I have 5 different 468x60 banners. I want then to change when the page is refreshed so that the viewer does not see the same banner ad overagain untill all 5 have been seen, then they start over. Theses baner ads will be static .jpgs, so I am not worried about falsh animations. Any and all help is appreciated.

Return to posts index

Re: Flash ad banners
on Sep 28, 2007 at 10:21:32 am

Are you creating your webpage in Flash or HTML/PHP/ASP/...?

If creating in Flash, use Actionscript to randomly load an image into an image container. Look up the MovieClipLoader class to find out how to load an image into flash and then use an array (with the filenames of your jpgs) and the Math.rand() method to pick a random image.

If you're using HTML or PHP, try using Javascript.

Kind regards,

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved