Hello,
I am communicating with a database through flash and an asp page. I query the database and output a variable to a text file. For some reason I CANNOT read the variable from the text file. I've done this before and it has worked fine, but I'm not getting anything now. The text file reads "energy=5000", but the energy variable in flash does not get set to this value.
I am trying to use
loadVariablesNum ("C:\energy.txt", 0);
if I use
loadVariablesNum ("energy.txt", 0);
I get
Error opening URL "file:///C|/Inetpub/Why does it add all that stuff to the path? Which way should the slashes go?
please help!
How do I do this properly? I've made sure that there the text files are there and they are not Read Only.
Thanks,
Emily
I am communicating with a database through flash and an asp page. I query the database and output a variable to a text file. For some reason I CANNOT read the variable from the text file. I've done this before and it has worked fine, but I'm not getting anything now. The text file reads "energy=5000", but the energy variable in flash does not get set to this value.
I am trying to use
loadVariablesNum ("C:\energy.txt", 0);
if I use
loadVariablesNum ("energy.txt", 0);
I get
Error opening URL "file:///C|/Inetpub/Why does it add all that stuff to the path? Which way should the slashes go?
please help!
How do I do this properly? I've made sure that there the text files are there and they are not Read Only.
Thanks,
Emily