Search  

BANNER ROTATOR XML

HomeBrowse CategoriesFlashApplications and UtilitiesImage ViewersBanner Rotator XML

Highly customizablebanner rotator, XML driven. You can use it as a slideshow.

You can set:
- unlimited number of images or SWF ’s through the XML file
- the banner’s width and height
- target URL ’s for each image
- the transitions effects
- the time interval between transitions

You can set a specific order for the images and transitions, or you can set a random order for each.

There are 4 transitions included from my product Transitions Effects Collection http://www.flashden.net/item/transition-effects-collection/11697 . Very easy to add all these transitions if you bought the collection.

Here’s the list of variables you can change at the beginning of the code:

bannerWidth = 468;
bannerHeight = 60;
transitions = [2,0,3,16,21]; //the numbers 2,3,16,21 represent mask2, mask3, mask16 and mask21 from the Library
//0 means an alpha transition
//edit the numbers from this array to indicate which transition to use and in which order
useRandomTransitions = false; //set it to true if you want to generate a random transition
useRandomImages = false;
alphaSpeed = 2; //the speed for alpha transition
duration = 3; //time interval between transitions, in seconds

Posted 6 months ago

there’s no html example file, just a barebones xml, images folder, fla and swf. no example of how to set variables “beginning of the code”

what code? fla, html, xml file?

please be more specific..

Posted 6 months ago

just to inform the public, you have to edit the fla to change the width & height or the transitions. you can’t even pass a variable to the width/height (as is anyway) because the stage is set. i hacked my copy, but buyer beware..

Posted 6 months ago

Of course you have to edit the FLA file to make any changes, as with all files on FlashDen you cannot set the stage’s width and height through html or any external files. If you want to publish the html file to be able to shrink the swf, press Shift+F12 from within Adobe Flash.

Posted 6 months ago

How many transitions effects it has?

Posted 6 months ago

Just bought this file, its great!

I would like to have my logo in middle-left or bottom-right, sort of “over” the veiwer if you know how i mean. Always showing. Also change the widh and height. Is that something you could help me with? I rly dont understand flash so that would be much appreciated.

My e-addy is marthin@essius.se if youre up to it.

— tsaopeter: its the transition effects no 2, 3, 16, 21 from that link in the infotext, if i remember correct.

Posted 6 months ago

Very nice file.

Question: is there a way to pass the XML ’s file name as a Flash variable, so that it can be used more than once on the same page without having to re-compile and rename the file?

another added benefit of passing the XML file’s name as a variable is that it could be placed inside any directory. right now, the path is hard-coded in the FLA file, making things really clumsy.

Great job, in any case. I’ll give it 4 stars. Thanks!

Posted 6 months ago

Snowcat wrote (in response to Masteryan):

“as with all files on FlashDen you cannot set the stage’s width and height through html or any external files.”

That’s not quite accurate, Snowcat. There are many files on Flashden that accept different sizes when embedded in the HTML – something along the lines of SWFObject’s call:

var so = new SWFObject(noCacheIE(”/flash/events_banner.swf”;), “events”, “250”, “180”, “9”, ”#FFFFFF”;);

Where “250” is the new width and “180” is the new height – no need to recompile the movie.

Here is a link to one of them in Flashden:

http://flashden.net/item/advanced-newsarticle-banner/9039

Good luck with your product. I truly like it and my criticism is intended as positive. I remain a happy buyer.

Posted 6 months ago

Hi,

Great work! This is the best banner i’ve seen by far on Flashden and very easy to add new masks etc… I purchased your full mask set also so have this really running well now.

Just something I thought i’d mention is that I noticed the start image and transition is not random if everything is set to random. I wanted this so have modified the LoadXML function to suit. Here’s my code in case anybody else wants this or you want to add to a new version :)

Thanks again,

Mark

loadXML = function () { var photos:Array = this.firstChild.childNodes; total = photos.length; }

//change to load first image randomly if set to true
if (useRandomImages) {
    currentImage = Math.round(Math.random()*(total-1));
}
//change to load first transition randomly if set to true
if (useRandomTransitions) {
    currentMask = nextMask(currentMask);
}
for (var j=0;j<total;j++) {
    images.push(photos[j].attributes.image);
    urls.push(photos[j].attributes.url);
}
holder = banner.createEmptyMovieClip("holder0", 0);
inner = holder.createEmptyMovieClip("inner",0);
loadMovie(images[currentImage],inner);
banner.onRelease = function() {
    getURL(urls[currentImage]);
}
intervalId = setInterval(_root, "changeImage", duration);
Posted 5 months ago

I created a SWF file with your program, and works fine as a standalone. However, when I attempt to use within another swf file – I import the original swf into a new file – I cannot get it to animate, and I see no images. Is there something I am missing? I am using AS3 , though I could not get it to work in AS2 either. Thank you for your assistance.

Posted 5 months ago

Hey Snow Cat,

Question regarding this XML slideshow.

Is the text in the file, “This is a sample swf. Loaded through XML ” also dynamically loaded through HTML ?

Thanks,

Merlin

Posted 5 months ago

Anybody know how to contact SnowCat? I tried what was listed as his personal e-mail but have received no response. I purchased this item and need assistance as soon as possible. I’m no tsure whether he is still checking this site. Thank you…

Posted 5 months ago

Snowcat Could you please advise whether you will be able to respond to my question regarding your utility, which I purchased 15 days ago. It is not working for me and I don’t want to spend more money on a substitute if there is an easy solution I am just overlooking. Thank you. Peter

Posted 5 months ago

how do i embed this file, why isn’t there a html file with an example of the embedded codes?

i need help please

*administration of this site should make it mandatory for all developers to include a demo html file with the codes

Posted 15 days ago