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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Ads using xml and flash

Status
Not open for further replies.

webmast3r

Programmer
Sep 8, 2003
13
LB
hi there,
i am creating a small ad rotator,that will rotate a list of ads that i have in an xml file!
avery advertisement has the following properties:
filename, filetype, duration, url

ex:
filename: ad01.gif
filetype: image
duration: 15 seconds
url:
filename: ad01.jpg
filetype: image
duration: 10 seconds
url: null

filename: ad02.gif
filetype: image
duration: 25 seconds
url:
filename: ad01.swf
filetype: flash
duration: 45 seconds
url: null

now all the ads have a fixed size of 160 x 120px.
what i want to do, is for it to load all the elements dynamically from the xml file depending on the type 'flash' or 'image' and if image clickable or not!

when the rotator reaches the end of the xml file, it starts from 0.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top