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
Solved

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

Posted on 2006-11-03
3
6,469 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

861 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