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!

loadVariables with Flash 4

Status
Not open for further replies.

Goku

Programmer
Feb 2, 2001
3
US
In Flash 5 manual is described how to load variables by a .txt file (using loadVariables("namefile.txt") )

Their loading is asyncronous with any event and I can use that variables only after they're loaded.

So the problem is: how can I know when they are loaded to use them?

Please HELP ME! (excuse me for my English!)
 
Flash 4? or Flash 5?
Your thread title says 4!... and you mention Flash 5 manual?

;-)
 
hi

Say you're loading variables from "variables.txt" which includes the variable "name=1), just put the actions:

Load Variables (&quot;variables.txt&quot;, 0) <<<or whatever level
If (name=1)
Trace (&quot;afdgsafdgfdsg&quot;)
End If


Obviously, change to suit flash5 as required.

dD

davdesign@hotmail.com

^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top