XpIkA
10-30-2002, 06:39 PM
Hi, i was lookin troughout lots of websites trying to solve a problem that i´ve got with Dynamic textfields loading text archives on MX
i was using all this lines of code but it didnt work when i upload to the server (the weird thing is locally it works just fine)
_root.loadVariables("01.txt","/");
or this other
loadVariablesNum("01.txt?Ran="+random(999), 0);
the text file is uploaded as an UNICODE file got all its variables fine (my_variable1=hello world&my_other_variable=help me escape from this !!) etc..etc..
the textfield is working with its vars (my_variable1, my_other_variable) correctly attached; and its works FINE on any computer (locally) but when its uploaded fails; i was trying to modify the path of the txtfile ("01.txt" "/01.txt") but it didnt work and i dont think its always necessary to put an URL when a file works with a relative path.
can u help me? plz i need the correct code to put in my flash file, and got another question, when i change the contents on the TXTfile and upload it again , theres a way that an user who got the previous txt file (and got it on the webcache),across my flashMX file uploads and update the content on the dynamic datafield or this is done dynamically by my SWF ?
PLZ HELP ME ASAAAAAAAAP
Thx
Regor Do Spika
i was using all this lines of code but it didnt work when i upload to the server (the weird thing is locally it works just fine)
_root.loadVariables("01.txt","/");
or this other
loadVariablesNum("01.txt?Ran="+random(999), 0);
the text file is uploaded as an UNICODE file got all its variables fine (my_variable1=hello world&my_other_variable=help me escape from this !!) etc..etc..
the textfield is working with its vars (my_variable1, my_other_variable) correctly attached; and its works FINE on any computer (locally) but when its uploaded fails; i was trying to modify the path of the txtfile ("01.txt" "/01.txt") but it didnt work and i dont think its always necessary to put an URL when a file works with a relative path.
can u help me? plz i need the correct code to put in my flash file, and got another question, when i change the contents on the TXTfile and upload it again , theres a way that an user who got the previous txt file (and got it on the webcache),across my flashMX file uploads and update the content on the dynamic datafield or this is done dynamically by my SWF ?
PLZ HELP ME ASAAAAAAAAP
Thx
Regor Do Spika