1 Reply Latest reply on Mar 15, 2007 4:03 PM by crazyjoemilan

    loadVariables timing issue

    BobAchgill Level 1
      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...


      loadVariables("MyVars.txt", _root);