PDA

View Full Version : Dynamic Text



littlepunk29
May 13th, 2004, 13:54
Finally got my preloaders to work correctly...but in the process i messed up my text boxes.

i have a main file with MOVIECONTAINER_MC
what loads into the container are my individual pages

on the individual pages the dynamic text displays just fine
here is the actionscript i used

hometext = loadVariablesNum("home.txt", "0");
stop();

however, when the main file loads the .swf into the container, my text doesn't show up. i know it has something to do with what level it is on, but i don't know where i should have it going

i tried

hometext = loadVariablesNum("home.txt", "1");
stop();

hometext = loadVariablesNum("home.txt", "2");
stop();

hometext = loadVariablesNum("home.txt", "_root.MAINCONTAINER_MC");
stop();

basically i have just been makin stuff up cause i don't know what should be in there =)

if anyone knows, please tell me

ProfClayton
May 13th, 2004, 16:28
Note: Moving to the Macromedia MX 2004 Forum

Is the script to load the text on the main timeline or in the object that its loading into the container?

littlepunk29
May 13th, 2004, 16:40
the textbox was within the .swf that was gettnig loaded into the mc

i just figured it out

i had originally used the instance name of the text box...and it was textscroll....i was calling it scrolltext in the actionscript.

thank you