Groups | Blog | Home
all groups > flash actionscript > march 2007 >

flash actionscript : loadVariables timing issue


BobAchgill
3/15/2007 10:48:33 PM
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...

[Q]loadVariables("MyVars.txt", _root);[/Q]

Thanks!

Bob
Mr Helpy mcHelpson
3/15/2007 11:03:04 PM
AddThis Social Bookmark Button