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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

controlling dynamic text in a movieclip within a movieclip

Status
Not open for further replies.

GD03

Programmer
Oct 20, 2003
22
US
Hi,

I have a script that loads text into a dynamic text box but the problem is the script is on one movieclip and the text box is in the movieclip within that one. How would I go about doing this. I know a simple scrolltext=scrolltext.txt (variable = scrolltext) does not work because I'm loading a text box in a seperate movie clip.

I also tried songInfo_mc.scrolltext_txt=scrolltext (songInfo_mc = movie clip where Dynamic text box resides). If someone could help me out it would be most appreciated.

GD
 
sounds like you just need to link to those tectfields correctly based on WHERE the AS is running from... helps to do absolute paths no matter what (ie link back to _root to find/set the values)

[conehead]
 
Using loadVariables or the LoadVars() object?

Regards,

cubalibre2.gif
 
Thanks "TheConeHead" and "oldnewbie" I figured it out. It was actually really stupidly simple. I just made more complicated than I thought. All I did was onClipEvent (load) {

scrolltext = "scrolltext.txt"; }


GD

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top