Groups | Blog | Home
all groups > flash (macromedia) > august 2003 >

flash (macromedia) : loading several varaibles from 1 text file with MX


Tony Currie
8/27/2003 10:23:48 PM
Hello

It has been a while since I have had to do this. Basically I want to load
several variables from one txt file sitting next to the swf movie.

The text content in the file (myvars.txt) is the following

var1=Tony Currie
var2=24
var3=Male

I thought the code was

LoadVariables("myvars.txt",0);#

But this does not work. If it is help, I am using MX

Thanks very much

Tony

Tony Currie
8/28/2003 6:52:42 PM
Thanks! Spot on!

[quoted text, click to view]

Peter Lee
8/29/2003 1:26:43 AM
I think the file should look like this instead:

var1=Tony+Currie&var2=24&var3=Male

Peter

--
Peter Lee

Novel Games - Free Game Downloads and Free Flash Games
Visit us at: http://www.novelgames.com



[quoted text, click to view]
AddThis Social Bookmark Button