Link to home
Start Free TrialLog in
Avatar of patker
patker

asked on

self scrolling text line with the text from TXT file

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?
Avatar of sturobinson17
sturobinson17

You can pass the information to the MovieClip using the TellTarget function. Make sure you give the Movieclip an Instance name.
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 :)
ASKER CERTIFIED SOLUTION
Avatar of Ashfaq Ahmed
Ashfaq Ahmed
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial