loadVariablesNum issue!
- Started
- Last post
- 6 Responses
- 67nj
I'm using a loadVariablesNum command in a movie and then, loading that movie in another main one...but the file txt i'm trying to load it doesnt show up:
is it possible because of the each other nested movies?
if this is the reason do you have suggestion to avoid this problem? thnx
- tomkat0
load the txt into the mainmain movie..?
- unfittoprint0
you should use the new loadvars objects inside the loaded movie.
myVars = new loadVars()
loadVars.onLoad= function(sucess){
if(sucess){
trace("yesss!!")
}else{
trace("shit!")
}
};myVars.load("mytext.txt");
//Remember: if the loaded movie is not in the same directory as the main movie you'll have to include the path to the txt file, like:
"myText.txt" to "folder/myText.txt"
- 67nj0
thanks!
i'll try both and let you know...
grazie!
- laurus0
it may be because you don't have the same root anymore, try correcting your path (to the path of righteousness)
- goygoygoy0
unfittoprint, I was sure to find that response from you in that thread ! lol
thanks for forcing me to use loadVars object! two weeks ago :) http://www.gwkk.org (hungry section)
- unfittoprint0
looking good Greg.