My dilema is that I have several dynamic text boxes in my site, all have respective variables and txt files and I use loadVariablesNum("the_text_file.txt ", 0); in the first frame followed by a variable = _root.variableText in the second frame to load the content from the text file to the variable. Now when i preview the swf on my machine all the text loads no problem, but when I have put both the swf and txt file online, using fetch, when the swf loads in the browser nothing shows up in any of the dynamic text boxes. I have done some rough debuging and it seems that the variable which is supposed to be getting the content form the txt files, is coming up as equaling null. So thats the situation, also the text in the txt files is of the variableText =html body…text …body html sort. Pleeeeease help.
sounds like a speed issue: it works on your comp coz the loas is immediate, so the var gets populated, but not online coz when you try to use the var, the txtfile hasn’t finished loading in…my best guess anyway…might also be a Mac problem, lol (kiddin’)
at the end of your text, add &status=ok, then in the swf, run a (frame)loop to check if status == “ok” (means file is loaded) before accessing the var’s…or use loadVars & it’s methods to check for load.