Solved

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

Posted on 2006-11-03
3
6,487 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

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 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…
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.
Suggested Courses

752 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