?
Solved

Actionscript scrolling marquee that loads text from .txt file

Posted on 2003-12-12
1
Medium Priority
?
1,417 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 2000 total points
ID: 9936060
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Question has a verified solution.

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

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…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
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.
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.
Suggested Courses

601 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