ActiveDen

Dynamic xml banner / slideshow

NOTE : This item was updated on May 14 2008, if you downloaded by now, please re-download.
Features added on May 14 2008:
  • added native support for randomization (added a new parameter called Random, with the value the number of pictures you want to use).

    Example using swfobject: ... so.addVariable(“Random”, “K”;);

    //replace K with the number of images you want to use, taken random out of the total N images (K <= N). If you just want to randomize all images, set K to be the exact number of images you have in your XML ...
  • added support for overriding the default XML path – as with the randomize function, just add a parameter “BannerXmlPath” with the value “path/to/your/new/file.xml”
  • Added “target” support. That means that in xml, when specifying the url you can specify the target where to open that url (_blank to open in a new page, _top to open in the same page, _self to open in the same frame, _parent to open in the parent frame)

This is intended more to be an ad banner than a slideshow, but it works as both.

Features:
  • using both xml and API (you can specify the config or hardcode it)
  • you can specify a duration for each item
  • you can specify a fade-in duration for each item
  • you can specify a fade-out duration for each item
  • you can specify an url for each item
  • you can use both movieclip symbols and external images (at the same time)
  • fully resizable
  • doesn’t use any reference to _root, so you can include it very easy in your projects
  • also, if it happens to stumble upon an unreachable path for an image (as sometimes happens :P ): it will display no errors, and will not not get stuck – it will just silently and elegantly go to the next one and remove any reference to the erroneous one. You will only see the error as a trace in the Flash IDE



Click here to see more of my files

by
by
by
by
by