Solved

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

Posted on 2006-11-03
3
6,478 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
ID: 17872926
0
 

Author Comment

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

Expert Comment

by:ellandrd
ID: 17881489
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

685 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