Search  

MYNEWSTICKER

An easy to manage, xml-based news ticker for your sites.

Features:

  • pause time
  • maximum character to prevent loooong headlines to ruin your layout ;p
  • set headlines to uppercase or lowercase
  • and of course unlimited entry of news

AATW (added along the way):

  • next/prev btn to skip tru the ticker
    (recently updated, included in the fla) – aug15, 2007
  • pause when rolled over
    (pls refer comments below for instructions to modify) – sept18, 2007

You might also wanna look at:

RSS news ticker

Posted about 1 year ago
an oh, your xml tags should not have space in between them use <headline> instead of <news headline>
Posted about 1 year ago

Thanks for getting back to me. We actually figured it out. Now I have another question/problem.

We no longer want the date to scroll. It is going to be a semi static title. However I would like it to be populated from xml. This is what my as looks like currently, and everything works but the m_date. Thanks for any help.

[code] var incre:Number = 0; var newsArray:Array = new Array();

xmlData = new XML ; xmlData.ignoreWhite = true; xmlData.onLoad = loadXML; //xmlData.load(contentxml); xmlData.load(“news.xml”;);

function loadXML(loaded) { if (loaded) { rootNode = this.firstChild; var totalMenu:Number = rootNode.childNodes.length; };

s_pausecountdown = 2; //int(rootNode[0].attributes.pausecountdown);
    s_maxChar = 95; //int(rootNode[0].attributes.maxChar);
    s_uppercase = true; //rootNode[0].attributes.uppercase;
}
//s_title = rootNode.childNodes[0].firstChild.nodeValue;
for (i=1; i<totalMenu; i++) {
    var m_headline:String = rootNode.childNodes[i].childNodes[1].firstChild.nodeValue;
    m_link = rootNode.childNodes[i].childNodes[2].firstChild.nodeValue;
    m_date = rootNode.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
    m_target = "";//rootNode[i].attributes.target;
    //
}
//trace(menuArray[0]);
gotoAndPlay("in");
title_txt.text = m_date;
if (s_uppercase == "true") {
    var m_headline:String = m_headline.toUpperCase();
}
//         
if (s_maxChar>0) {
    //trace(m_headline.length)
    if (m_headline.length>s_maxChar) {
        var m_headline:String = m_headline.substr(0, s_maxChar)+"...";
    }
}
newsArray.push([m_headline, m_link, m_target]);

var myStyle:TextField.StyleSheet = new TextField.StyleSheet(); //myStyle.load(“sample.css”;); //t2.styleSheet = myStyle;

t2.underline= true; t2.html = true;

[/code]

Posted about 1 year ago

Nice work.

Posted about 1 year ago

Hey ! nice file … but can you send me the updated version ? with fwd e back buttons and pause when rollOver ? thanks .. dudumaluf@yahoo.com

Posted about 1 year ago

Great product :)

How could I change the font color ?

Posted about 1 year ago

Ive found it :)

I want to remove that 1/5 , 2/5… How could I do it ?

Thanks

Posted about 1 year ago

@dudumaluf
ive sent you the file

@Klian
just get into ‘myNewsTicker’ movieClip in the library and delete or put aside the element on layer labeled ‘layer 4’

Posted about 1 year ago

Hey there, good work. This is simple, and clean, and works well.

But…and it could just be me, but I can’t get it to work when publishing for Flash Player v.9 (AS2). Any ideas why it wouldn’t display?

Tx!

Posted about 1 year ago
@ira42
ive discovered that its the cacheAsBitmap failed when set to player 9. What you need to do is get into ‘myNewsTicker’ movieClip in library in frame 10, at the end of the code, remove:
mmask.cacheAsBitmap = true;
myTick.cacheAsBitmap = true;
leaving just the setMask. This will now mask the news area like a normal mask not the faded top/bottom like in the demo. Posted 11 months ago

there is still a problem when you roll over the news. Try this:

1. add the roll over stop directions above (so the news stop moving once you have the cursor over them). 2. roll over the news. You will see that it indeed stops moving for as long as your cursor stays on top of it. 3. take the cursor out of the over area of the news. wait a while so that the news start moving again. 4. at the split second it moves the news, roll over the cursor on top of it once more. You will now see that there is a bug which will not let the news stop. Also, if you move the cursor out again, it starts behaving strangely.

It seems to be a bug in the way the file treats onMouseOver. As long as you rollOver when the news scroll it doesnt register the rollOver. try it and let me know of any solution. Other than that, i love the file and its a very easily customizable file. :)

Posted 10 months ago

@geodeath & too all my buyers
i admit it seems buggy at times, but me myself am not too sure what is causing it.. so worry not, as i have decided to remake and improve this file where ever possible. Please hang in there.. the updated files will be available very soon for re-download.

cheers for now, Ashok

Posted 10 months ago

i want a change New Text and date…..how can change?

Posted 10 months ago

@machoup
you can change, edit, remove all in the xml file.

Posted 10 months ago

good file u got there

Posted 10 months ago

Drag, dropped, and edit xml. WAAAA !!!!

I love you man!

Posted 9 months ago

Hi How complicate is to change the graphic so the background is just simple grey and the height of the background is the same as the height of the text?

Posted 9 months ago

It’s been three months since your post about updating/improving the file. Do you have a better ETA on when it will be done?

The solution you have for the pause on mouse over works but is buggy as @geodeath mentioned in his comment, I used your modifications and got the same erratic behavior mentioned in the post.

Keep up the good work. This is still a great file even without the pause.

Posted 6 months ago

One more thing. Is it possible to get amperstnds as well as single and double quotes to appear in the text? it will not work if you put it in as it is right now. it renders it with the & A M P ; or & Q U O T

Posted 6 months ago

Hey Encryptme great file…. But I follwed your directions above…and it is not pausing when mousing over…. any suggestions?

Posted 4 months ago

Does it refresh the data by itself, or it need to refresh page first before new data comes up ?

Posted 2 months ago

very cool news ticker… but i have a question: how can i the ticker stop by the last entry and reload if post any new entrys?

Jo

Posted about 1 month ago

Can I get an upated to this file? Thanks MarineIK@hotmail.com

Posted about 1 month ago

First off, awesome product and real easy to use. I have one question. Would it be possible to setup a button, that upon clicking it could load a new XML file. For instance, if I had news setup for multiple towns and someone just wanted to see the news for this town they could click on that particular button. Hopefully you may be able to understand what I’m trying to get at. Thanks so much for your time!

Posted 25 days ago