Solved

self scrolling text line with the text from TXT file

Posted on 2001-08-08
3
293 Views
Last Modified: 2006-11-17
Look ppl, i got a task. I need a self scrolling text like marquee in html with the text from txt file.
Now: I can do that when the dinamic text field is in a graphic object so i can get an effect of scrolling text with a simple motion of the textbox under the mask.
Problem: The text in the TXT file sometimes can vary in the size, so i need to control the size of the dinamic textfield from the TXT file with the help of some variable. But then I must have a MovieClip object instead of Graphic object where i put the dinamic text field.
And here is the problem. I cant see the text from the file in the dinamic textfield if it is in MovieClip object :((   what is that?
0
Comment
Question by:patker
[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
3 Comments
 
LVL 1

Expert Comment

by:sturobinson17
ID: 6372002
You can pass the information to the MovieClip using the TellTarget function. Make sure you give the Movieclip an Instance name.
0
 
LVL 2

Expert Comment

by:big_al_bruce
ID: 6372550
make sure you label it correctly. For example, lets say you put it in a movieclip with an instance name (CTRL and I) of 'textmc'.

You'd reference this in flash5 using _root.textmc

or in flash 4 with /textmc

hope this helps ya :)
0
 
LVL 1

Accepted Solution

by:
uschfauq earned 100 total points
ID: 6375306
Dear patker,

First put that text field in a movie clip, name its instance as big al bruce told u then in order to refrence it.
To get the same font and size every time you load a text file select the text field and in Flash 5 Text options give the field name and make it dynamic also select the required options in Embed Fonts. That way all your text will look same with little file size increase.

Hope it solves you problem :)
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

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…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
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 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.

732 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