[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6567
  • Last Modified:

Marquee / Scrolling External Text (No Scroll Bars) Flash 8

Hello,

I would like to request some assistance.  I am trying to create a dynamic (external file, xml / txt whatever) scrolling / marquee text box in Flash 8.  (I do NOT want scrollbars I want it to just scroll constantly)

My code

newsTicker.backgroundColor = 0x202020;
newsTicker.borderStyle = "none";
newsTicker.html = true;
newsTicker.wordWrap = true;
newsTicker.multiline = true;
newsTicker.editable = false;

newsTickerContent = new XML();
newsTickerContent.ignoreWhite = true;
newsTickerContent.load("test.xml");
newsTickerContent.onLoad = function(success)
{
      if(success)
      {
            newsTicker.text = newsTickerContent;
      }
}

How do I make it into a continous looping text field?  I was thinking with the .scroll added to the newsTicker.scroll += 1;
but I am not sure how I am going to find the end of the text file and make it loop back through, or I could just be awfully wrong on this and not doing it right to begin with.

If anyone could link me a fla, or correct my code to make a function scrolling vertical news field, I'll be happy to award points and you'll have my gratitude.
0
Todd_Bain
Asked:
Todd_Bain
  • 2
1 Solution
 
Todd_BainAuthor Commented:
Thank you greatly, that is exactly what I was after.
0
 
ellandrdCommented:
ah - i was a little unsure but kept my hopes up that it was what you where after...

im glad i could help!  thanks for the points and grade A

Ellandrd
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now