Solved

self scrolling text line with the text from TXT file

Posted on 2001-08-08
3
276 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
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 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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

813 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

12 Experts available now in Live!

Get 1:1 Help Now