Solved

Actionscript scrolling marquee that loads text from .txt file

Posted on 2003-12-12
1
1,393 Views
Last Modified: 2007-12-19
Site is for an online radio station, and the client wants to have a "Now Playing" box.  The program that handles the music stream ftp's a .txt file containing the name of the song currently being played to the server hosting the site.

I would to have a dynamic text field load this info from the .txt file.  However the space I have for the box in the layout is small, smaller probably than most of the song names.  So I need this box to have a scrolling marquee action.  I like the solution provided in the answer to this previous question:

http://www.experts-exchange.com/Web/WebDevSoftware/Flash/Q_20535066.html

But the solution does not dynamically load text from a file, and it seems to need to know exactly how many characters are to be displayed in the text box to work correctly.  I'm hoping someone can help me adapt this solution to my purposes.  I really like the actionscript option over using masks and just making the text box move.

Thanks in advance for your help,

-= jonathan =-
0
Comment
Question by:hayeahright21
1 Comment
 
LVL 27

Accepted Solution

by:
negatyve earned 500 total points
ID: 9936060
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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 how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

792 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