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!

question.......... 1

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
loadVariables ("members.txt", "_root.window3.text_location");


would this be right if say the textfield was located in a mc called text_location...text_location was then located in a mc called window3...which in return was on the main time line waiting to be called...i can't get the darn text to load inside the two mc's...it loads fine at the _root location but not from inside the mc's...i have the loadvariables command on the maintimeline...should i place it inside the mc's or something?..

anyideas?..can't get the text to load...

e.gif


carlsatterwhite@endangeredgraphics.com
 
Carl,
Is this what you're looking for:


In all buttons I've used but this:

loadVariables ("Story1.txt", "_root.emptyclip");

So try it likewise:

loadVariables ("members.txt", "_root.window3");

Make sure the instance's name of window3 is really wimdow3!

If you can't get it working, I'll send you my .fla.

Regards,
mywink.gif
ldnewbie
 
sent ya mail man...if you can figure it out...i'm stumped...or just stupid, one or the other!!
e.gif


carlsatterwhite@endangeredgraphics.com
 
Ok! Downloading now! Hotmail doesn't take more than 1MB!
What'd you do? Trash my Montréal address, when you were mad at me? LOL
Catch you later! 3MB download on a dial-up! Remember!
Shessssssssssssssssssssssssssssssssh!

Regards,
mywink.gif
ldnewbie
 
looking for your answer..and no i didn't dump that e-mail..thought you only were using the oldnewbie address..all is good...

thanks.....
e.gif


carlsatterwhite@endangeredgraphics.com
 
no luck huh?
e.gif


carlsatterwhite@endangeredgraphics.com
 
Ok!

First change your variable name in text_location Options box to textfield and not textField as you have it, so that it matches your variable name in members.txt.
Next edit window3 mc in this manner:
Select frame 25 on layer 1 and copy it (Ctrl+Alt+C). Select frame 1 of layer 1 and paste (Ctrl+Alt+V). It will add a new tween, but it doesn't change anything 'cause the position is the same as frame 25, where the window does start dropping down.
What's important here is the window your loading this text in has to be available from the start. It was only appearing in frame 25, thus when you loaded your text in the main movie, the window wasn't there to be loaded up!
Get it?

A few other things you'll have to take care of... Noticed that if members' window is opened and you press mission, the new window overlaps...

Regards,
mywink.gif
ldnewbie
 
Forgot to mention...
You should adjust your font size and/or the text box size, so you don't cut lines halfway when scrolling! A bit messy IMHO! But then if you like it!...

Regards,
mywink.gif
ldnewbie
 
the text was not set...couldn't get it to load to test it...the variable name huh...allnight long last night...son of a $$^%%...

thanks dude......
e.gif


carlsatterwhite@endangeredgraphics.com
 
but then again the text name was probably not the problem because it did load on the _root location..it was indeed the mc was blank when i needed it to be there to load the file...
e.gif


carlsatterwhite@endangeredgraphics.com
 
The variable name is not that important... It curiously does work still if you leave it as textField, but like layer renaming, and an actions only layer (which you're still not doing...), they're only small things... But they complicate testing, when some error comes up!

Since you've started helping and coaching others, you should hand down those small details!

Regards,
mywink.gif
ldnewbie
 
agreed..............
e.gif


carlsatterwhite@endangeredgraphics.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top