Solved

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

Posted on 2006-11-03
3
6,439 Views
Last Modified: 2011-08-18
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
Comment
Question by:Todd_Bain
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
ellandrd earned 500 total points
Comment Utility
0
 

Author Comment

by:Todd_Bain
Comment Utility
Thank you greatly, that is exactly what I was after.
0
 
LVL 16

Expert Comment

by:ellandrd
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now