View Full Version : FSCommand("save")
freakynuts
July 14th, 2003, 11:27 PM
Hi, I want to save variables to txt file. I have found that this can be done by using the FSCommand save (undocumented command). The problem is im not sure how to do it. Can someone give me a quick tutorial on how to setup a variable then export it to txt.
thanks
ahmed
July 14th, 2003, 11:33 PM
http://chattyfig.figleaf.com/flashcoders-wiki/index.php?FSCommandSave =)
freakynuts
July 14th, 2003, 11:44 PM
Thanks for that but im no closer to understanding how to do it
ahmed
July 14th, 2003, 11:46 PM
what exactly is confusing you?
freakynuts
July 14th, 2003, 11:50 PM
How do i tell it which variable to save.
ie: say i have input box that i want to save the text from. How do i tell it to save that entered text
am i making sense?
ahmed
July 14th, 2003, 11:54 PM
ah, i don't think you can actually do that with FSCommandSave, since it saves all the variables in a certain timeline to textfile. To achieve what you're trying to do you will need to use a server-side script of some sort (and that would write files only on the server, not the client's machine)..
If it doesn't have to be an actual textfile, you can use flash's SharedObjects :)
freakynuts
July 14th, 2003, 11:55 PM
****:.............Thanks anyway
ahmed
July 14th, 2003, 11:58 PM
here's tut on SharedObjects anyways..
http://www.kirupa.com/developer/mx/sharedobjects.htm
freakynuts
July 15th, 2003, 12:32 AM
actually ive just worked it out. It can be done but only in Flash 5 (im using MX). Went to another PC and tried it with Flash 5 and it works. It imports everything i type into the input box.
:ub: :ub: :ub:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.