|
|||
|
I'm using loadVars() object in actionscript to get a bunch of values from a text file on my server. It works fine in flash everytime. Howerver the call to that object only works once when tried in a compiled exe file. Is there any such problem that you guys know of?
|
|
|||
|
It seems as if there is a problem with clearing the properties/values of objects (i only know of loadVars) in the compliled exe files. Please let me know if there is a solution.
my problem again is that when i use loadVars to load variables from a text file, it only works the first the and doesnt work again no matter how many times the same function is called and does not reload the new values if they have been changed in the file. It works perfectly fine in flash player itself. Please help me out. thanks for example, heres the actions in a button: on (release){ var file:LoadVars = new LoadVars(); file.load("http://www.mydomain.com/data.txt"); file.onLoad = function(success:Boolean) { if (success) { myVar = file.someVar; } }; } I'm experiencing the same problem using the XML() object |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|