Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mc within mc...

Status
Not open for further replies.

lumstar

Technical User
Jan 29, 2002
177
CA
Hey guys,

I have a dynamic textbox with the variable "_root.mytext" attached to it. the textbox is within an mc with instance name "mc2" mc2 is within an mc with instance name "mc1"

In frame one in the root of the movie, I load my variable file into level 0.

How can I make the dynamic textbox display the text?

Post if this is not clear.

Thanks In Advance, Lumstar

______________________________________
Keep On Coding!!
If my post helped you, please give me a star.
If your post helps me, I'll give you one!
scifi-alien-with-red-boots-DW.gif
 
Do you mean :

_root.mc1.mc2.mytext = _root.mytext;

?? Regards

Big Bad Dave

logo.gif


davidbyng@hotmail.com
 
Let me try to clarify.

I want the variable mytext, which is loaded from a txt file to display in a dynamic textbox located in _root.mc1.mc2.

I know the variable is getting loaded, because it will display in a textbot in level 0.

How do I specify this? Is it done in level 0 while loading the variable, or is it done on the textbox in _root.mc1.mc2?



Does this make more sense? Lumstar

______________________________________
Keep On Coding!!
If my post helped you, please give me a star.
If your post helps me, I'll give you one!
scifi-alien-with-red-boots-DW.gif
 
you can just place :

_root.mc1.mc2.mytext = _root.mytext;

in the first frame

it should work Regards

Big Bad Dave

logo.gif


davidbyng@hotmail.com
 
I figured it out. Dynamic Text will not work if the layer it is in is masked. Lumstar

______________________________________
Keep On Coding!!
If my post helped you, please give me a star.
If your post helps me, I'll give you one!
scifi-alien-with-red-boots-DW.gif
 
It will work through a layer if you set dynamic text to embeded font Regards

Big Bad Dave

logo.gif


davidbyng@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top