See guys… I have been trying to load this movie I call “profile.swf” into “Main_Stage_Movie.swf”… I have dynamic text in “profile.swf” but it doesn’t show up when I load it into “Main_Stage_Movie.swf”…
This is the code I had been using…
loadVariablesNum(“profile.txt”, 0);
(profile.txt being the text file I wanted to load…)
Someone before said that the path changes when you load a movie externally and suggested this code…
this.loadVariables(“profile.txt”, “pro”); //[“pro” being the name of the dynamic text field]
Thanks for the attention but it doesn’t work at all… Cuz previously… With the code I had written… “profile.swf” used to show the text but when it was loaded into “Main_Stage_Movie.swf”, it didn’t… Now the text doesn’t show up at all!!! Not even in “profile.swf”… Please find an alternative…
if you give the textfield a variable name of _level0.pro and use
loadVariablesNum(“profile.txt”, 0);
in the main movie(which it is being loaded into), it should work.
what name of the mc that act as profile.swf’s container?
assume “profile.swf” is loaded into “yourContainer” mc in "Main_Stage_Movie.swf"
so the new path of the dynamic text is "_root.yourContainer.yourDynamictext"
and try to use loadVars instead of loadVariables
Thanks a lot ya’ll… I’ll definitely try that… Or I have come up with an alternative… So someway or the other I am gonna make it work… And thanks a million zillion times for the help and the tips and time you’ve given… Thank you very much… I’ll buzz u guyz if I run into a problem again! LOL! CYA!