Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to make sure one founction completes before running others?

Status
Not open for further replies.

CGann

Programmer
Jan 23, 2004
31
US
I'm pulling a server's time using a cgi script and bringing the value into flash using LoadVars and calculating some variables based on this data. But other functions are executing before LoadVars has completed and they're using incomplete data which is throwing everything off.

How can I make sure that one function is complete before calling another? I'm kinda fuzzy on the use of ==success.

tia!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top