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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LoadVariables

Status
Not open for further replies.

TheAwake

Programmer
Jul 28, 2003
37
Dont hit me, I guess this has been asked often, but I wasnt able to find an answer to this...

I have 2 scenes, each containing a textfield ("news" and "rules"). I have a menu to be able to go from one scene to the other and back.
In the 1st scene, I wrote [loadVariables ("news.txt", "");] into the actionscript (without the[] of course).
That works fine.

But if I go tot he 2nd scene, where I wrote
[loadVariables ("rules.txt", "");] into the actionscript,
it still displays the news.txt...

Any ideas how I could fix that?

(Oh, and I plan to do about 5 more such scenes&textfields)
 
Have you changed the textfield's variable name in the second scene? And does it match the variable that starts off your "rules.txt" text file?

Regards,

cubalibre2.gif
 
Post a link to your .fla & text files. Zip them up and in MX format only, not MX2004.

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top