Solved

Actionscript scrolling marquee that loads text from .txt file

Posted on 2003-12-12
1
1,388 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
Comment Utility
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
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 use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

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

10 Experts available now in Live!

Get 1:1 Help Now