Question
loadVariables timing issue
Can I use the results of loading a variables file using
loadVariables on the very next frame? Or do I need to build in a
set number of frames delay before trying to use the variables being
populated by the load statement?
Right now I am only giving one frame spacing from execution of the loadVariables and I try to use the variables on the next frame with sporadic results. Is next frame use overly optimistic? What is a good coding practice if there is a timing issue with using the results of loadVariables?
Here is script I am using...
Thanks!
Bob
Right now I am only giving one frame spacing from execution of the loadVariables and I try to use the variables on the next frame with sporadic results. Is next frame use overly optimistic? What is a good coding practice if there is a timing issue with using the results of loadVariables?
Here is script I am using...
quote:
loadVariables("MyVars.txt", _root);
Thanks!
Bob