PDA

View Full Version : saving variables to a text file


mastifever
03-30-2001, 05:11 PM
hi .....
i want to now how can u save the variable as a text file but also ....how to call it back in the same swf file
and view and edit it in that swf...or the projector file

this is not for the web ....

thanks
plz guys help?
i am making a program that asks for the ?
name:
date:
sub:
folio number:
oder number:
company name:

all these information ..and manage these as seprate files ,,
and can sort them date wise..
can this be done in flash ?

Jesse
03-31-2001, 02:52 AM
fscommand("save","file.txt")

(Thanks to FlashGuru for showing me this one)

That will output a file (file.txt) int he exact right format for Flash imput, so to load it back you can just use:

loadVariablesNum ("file.txt", 0);

Cheers

Jesse