Search  

DYNAMIC XML DISCOUNT/SALE BANNER

HomeBrowse CategoriesFlashApplications and UtilitiesUtilitiesDynamic XML discount/sale banner

This banner is a simple-to-add solution for commercial websites that have any kind of sales, special offers, discounts etc. It reads products on a special offer info from an XML file. It can run in random mode (displaying products in a random sequence), or in a normal mode (displays the products the in the order they are sorted in the XML ). If it runs in random, it creates the random sequence once and sticks to it rather than just picking a random product product each time around. This way, every product gets displayed the same number of times during the visit to the page (same as on my previous random banner http://www.flashden.net/item/xml-random-image-banner-rotator/7247 )

Here are the things that are set via XML for each product:

• Image • Title and description for the product • Discount (main text in the star) • Sub text in the star (small text beneath the “25%”, “75$” etc) • Star color – three available (red, pink, orange) but by editing a single movie clip, you can easily add more (explained in the instructions.pdf) • Link (where it leads to when clicked)

Here are the things that are set in XML for the whole banner (all products):

•Is it random •How many products you want to include in the rotation •How long is each product displayed (in seconds)

The code is well commented so feel free to edit it to your liking. Also the file includes a instructions.pdf with an explanation on how to set up the XML file, add more colors to the star etc.. I hope you find this useful :)

If you would like to purchase this file, and don’t have an account yet, please register here.

Posted 10 months ago

Any text containing ” and & is displayed incorrectly (& or ";) in the flash movie. It seems the script is not parsing the XML correctly. I have tried putting in the XMl file a & or " but it does not resolve the issue.

Posted 5 months ago

tekman…

I have the same issue and I think that I just solved it…

go to banner_mc on the second frame the actionscript find lines 15 and 16.

prod_description.title_txt.text=advertisers[imageCounter]; prod_description.description_txt.text=descriptions[imageCounter];

change to…

prod_description.title_txt.htmlText=advertisers[imageCounter]; prod_description.description_txt.htmlText=descriptions[imageCounter];

This will allow the title and the description text boxes to render as HTML and solved my problems.

Vibor I sent you my files but did not hear back from you. I am still looking at how to fix the cursor change when there is no link any suggestions?

Posted 5 months ago

Hi…here is the sollution:

banner_mc, second keyframe, change this:

if (linkURL[imageCounter] != null) {

    button_mc.onRelease = function ()
    {
        getURL ( linkURL[imageCounter], "_blank");
    };

} else {
    delete button_mc.onRelease;

}

to this:

if (linkURL[imageCounter] != null) {
    button_mc.useHandCursor=true;

    button_mc.onRelease = function ()
    {
        getURL ( linkURL[imageCounter], "_blank");
    };

} else {
    delete button_mc.onRelease;
    button_mc.useHandCursor=false;
}

That should work :) Posted 5 months ago

Is it possible to get this in AS3 ?

Posted 5 months ago

I am french And there is a big problem : we cant write with special french caracters It doesn’t consider also the Euros Symbol : €

Posted 4 months ago

I had problems with encoding XML but I resolve. If you are using encoding ISO , as iso-8859-1, you can resolve the problem including the below line in first flash slide action script.

System.useCodepage = true;

Posted 4 months ago

Hi please could show unlimited products without having to put number of products in xml file ?

Thank You if you fix this please send me an email to feha[AT]vision.to …

Posted 4 months ago

Vibor.

That seemed to fix it. Thanks.

If you get a chance to check out the final version with all the mods you can see it here. Nine Racing

Posted 4 months ago

nice product with excellent support. Vibor : thanks again for the prompt response.

Posted 3 months ago

hey this rocks – very professional and easy to use… thanks! A++

Posted 3 months ago

Vibor

I have a question about a pre-loader for the image. I have noticed that on some slower servers that it takes a while for a banner to appear. Is it possible to add a preloader to each banner so the user sees that something is loading on a slower server?

Posted 3 months ago

Hi, great stuff !

I need the danish letters æøå when I write my discount in the xml.

I tried the code: System.useCodepage = true; without luck, any suggestions?

Posted 3 months ago

Great work. Any way to have it only display the “star” when wanted? I need it to only pop up on a couple slides. Thanks

JH Fleming

Posted 3 months ago

this version displays the star all the time, but it would be a good idea for v2, thanks. If you guys have any questions I can help you with, please send them to my mail. Thank you!

Posted 3 months ago

looking forward to v2

Surf Lounge

Posted 2 months ago

Hi, I purchased this and it works great. The only problem is the URL doesn’t work if you have the following

index.php?main_page=product_info&cPath=222&products_id=244

How do I get these URL to work?

I tried the above in frame 2 but that didnt work.

Posted 2 months ago

Hi, your script is send & and not translating it back to &

Please advise how to fix this as I can’t use this without it doing this.

Posted 2 months ago

i need this fixed asap – your script is not translating the &amp into & and therefore the URL doesnt work.

Posted 2 months ago

Hi, i’ve the same problem with è ù à ò. If i use this letter i can’t see the results in product description. I triedr also html encoding like è without results. :(

The solution: prod_description.title_txt.htmlText=advertisers[imageCounter]; prod_description.description_txt.htmlText=descriptions[imageCounter];

do not work for me. Could you help me? Tnx

Posted 2 months ago

My wish list: -Resize via code or xml (don’t want to touch a .FLA file) -Choose from something other than a star - Pick graphic from a file via XML location -control speed and effect of transition

Posted 2 months ago

Hello, you promised that you would fix this in a couple of days. It has now been 18 days.

This is useless if it doesnt work. I dont want to waste US$10.00 which is A$15.00

Please fix and let me know so I can download it again or you can email me the fix.

Posted about 1 month ago

Hi Vibor! Any solution to the problem with è ù à ò?

Posted about 1 month ago

Hi I’m interested in purchasing but first, can this Banner be resized to 880×200px ? And if so can you offer detail instructions with the download?

Posted 24 days ago

Hello,

I am still waiting on the fix of your product not working correctly.

Please advise as I dont want to leave negative feedbak

Posted 22 days ago

Posted about 1 month ago. Any response.

Posted 16 days ago