Search  

ARTICLE / NEWS XML BANNER

HomeBrowse CategoriesFlashApplications and UtilitiesUtilitiesArticle / News XML Banner

UPDATE – 19 March 08
File got some tweaks:

- text fields now can have multiple rows automaticaly
- added setting for max characters in title
- added setting for max characters in subtitle
- added setting for max news articles - in case you have too many in the xml file
- extended the text size in width

Xml powered Article/News Banner

- Actionscript 3.0, Flash CS3 file
- Loads data from xml file
- Images are automatically resized to fit banners proportions(images can be bigger than the banner or have other proportions... will be resized to fit the banner and centered)
- Super easy to resize the banner using the flash scale tool - the script will redimension the content to proper scale
- XML structure:     
    > article title
    > article info - for a little more detail
    > image path
    > url of the article
    > type of link (_self, _blank, ...where to open the link)

- tooltip for links that are set to be open in a new window(links that have target="_blank" can be blocked by a browser popup blocker...)
- images are loaded sequentially; if an image is not found the script skips her
- easy change the loop and transition speed
- banner pauses on mouse rollover and resume on rollout

[My full Portfolio]



related

NEW


For my new files or updates use this feed :

!! IMPORTANT !!
Please give feedback about the file to let me know about what things needs to be improved or what things you like about it.
Thanks


Tip: Use the Bookmark This button under the price area to bookmark the item into your account. You can access easy this page in case you need it.


Posted about 1 year ago

There’s a small bug. When you mouse over the bottom area just below the text border the hand appears and disappears (in the text border area). I think it was meant to have the hand appear on the entire image including the text border. But it disappears on the text border area to the bottom right. I purchased this file, please fix this if possible. Thank you.

Posted 4 months ago

Hi,
@diveloper and all who need that fixed:
To tweak that do this: open the flash file > open the library > open the “article mc class” clip and on line 8 remove those slash characters in front of the line ”//” ..compile the flash and… that is it ;)

Posted 4 months ago

Thank you for the fix, and the FAST response. I noticed a few times that the the images would get stuck during the cycle. The image trasitions from top to bottom. what happens is the next image coming down only comes down 1/4 of the way and gets stuck. This leaves the lower image to be showing only 3/4 of the top. Once the time cycles for the next image, it fixes itself but it seems to be a bug.

How do I disable the max number of images? Do I just delete the entire line of code?

Posted 4 months ago

first.. i can’t recreate/see the bug you are talking about

max number of articles? ...you can set it to something big… like 999… but that is not too practical… because if you have too many articles they will not be visible on screen… the limit being the height of the banner and the height of a item number…
banner_height/item_number_height = max number of articles visible

Posted 4 months ago

Gotcha thanks, great file!

Posted 4 months ago

wickedpixel, I cannot find where to edit the tooltip. In your sample the tip is only for images 1,2 and 6. Images 3,4,5 & 7 have no tooltip. I looked in the files and do not see where to edit. Is it in the FL file? Please help.

Posted 4 months ago

I found it in the FL file but is this only for all the images? So each tooltip is not unique for each image?

Posted 4 months ago

Also what is buggy about the tooltip is once it animates upon mouse-over. It does not re-animate on mouse-over again when the image recycles. It is just static. I still cannot figure out why the tooltip is not on every image and where is this setting? How can I make the tooltip ”!” not be a part of the image-link “get url”? or make the ”!” its own link?

Posted 4 months ago

wtf? :D :)
The tooltip is set to appear only for links that you set with the target as “_blank” because, as i surely said in the help file/flash file… are the ones that some browsers block them

Posted 4 months ago

Thank you.

Posted 4 months ago

Is it possible to replace the buttons with news number with Title instead?

Posted 4 months ago

I am using Flash CS3 9 .0 and everytime I export the movie, I get compile errors saying that Flash doesn’t like the GetFile varriable. I used this in Flash b4 and never got these errors. Any idea how I can resolve this?

Posted 4 months ago

GetFile is an actionscript class .as file… you need to have that in the folder you have the fla file. you probably moved some of the files and forget that one.. It comes in the archive you downloaded from flashden

Posted 3 months ago

Love the file…having an issue with it caching the images and when I upload new files, they aren’t registering. When I emptied the cache in my browser, it reread the xml data and showed everything. Is there a way to disable caching on the xml data; or am I missing something.

Thanks

Posted 2 months ago
Hi impact2818,
To force flash to load the images every time you refresh the banner page you need to do this:
Open the flash file > open the library > open the "article banner - main" 
clip > select the layer "AS - create articles & start timer" > open the actionscript
window > edit the line 18 from
this : 

    iLoader.url = file;

to this:

    iLoader.url = file + "?t=" +Math.random();


And you are done.
Cheers. Posted 2 months ago

I forget to tell: with that edit.. you can’t test the file offline… it works only online.

Posted 2 months ago

Is there a chance that code in articles.xml is written directly to html rather than a separated file? This would make things way easer for me. I had a cms and I haven’t figure out how to output a xml file with dynamic content, but I’ll take me a minute to do so in html page.

Posted about 1 month ago

well… the html page is also a type of xml …the difference is that flash needs to know what to read and interpret from your html file as needed data… and add that flash does not know how to interpret all the html tags

Posted about 1 month ago

Hello there. I got it and really nice. How can i change fonts? Turkish fonts dont appear. Thank you.

you can see there: www.izmirnews.com

some Turkish characters: üÜöÖ??????çÇ

Posted about 1 month ago

Hi, use as tutorial this image... is for the other banner… but there are the same principles… You must use a font that has your language symbols

Posted about 1 month ago

Success! Thank you for the nice script and your hep;-)

Posted about 1 month ago

hi there, I’ve recently purchased your banner item, looks cool. I would like to add the component to an existing .FLA file. I’m pretty new… is it as easy as copy-n-pasting the movie clip ‘article banner – main’ into my keyframe?

I tried doing that, but I’m getting a bunch of complied errors, such as:

GetFile.as, Line1 Syntax error. package{ Attribute used outside class. The class or interface ‘flash.display.Loader’ could not be loaded. The class or interface ‘flash.net.URLLoader’ could not be loaded. The class or interface ‘flash.net.URLRequest’ could not be loaded. The class or interface ‘flash.system.LoaderContext’ could not be loaded. Unexpected ‘}’ encountered etc. etc. etc.

I’m sure I must be doing something very simply wrong, can you please advise.

Thanks.

Posted 3 days ago

Hi, the banner is using external classes that complete the code needed to make the banner work.
So… to use the banner into your files first you will need to copy all his files in the working directory of the parent file that will contain the banner.
after that you will need to copy all the clips from the library located in the banner file into your file library… and last you will need to drag the banner clip instance from the library into the stage where you need it.

Posted 2 days ago