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?
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?
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 :)
You'd reference this in flash5 using _root.textmc
or in flash 4 with /textmc
hope this helps ya :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.