?
Solved

Actionscript scrolling marquee that loads text from .txt file

Posted on 2003-12-12
1
Medium Priority
?
1,406 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
[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
1 Comment
 
LVL 27

Accepted Solution

by:
negatyve earned 2000 total points
ID: 9936060
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
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 set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
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.
Suggested Courses

770 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