Welcome, Guest. Please login or register.
Did you miss your activation email?
05/21/12, 03:58
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  Flash 8 (Moderators: Jorge Solis, ..:: Mazhar Hasan ::.., Andresss)
| | |-+  writing to disk
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: writing to disk  (Read 1393 times)
john doe
Server what's that
*
Posts: 4


View Profile Email
« on: 11/06/05, 16:34 »

------------------------FS COMMAND OR NOT FS COMMAND?------------------------FS COMMAND OR NOT FS COMMAND?------------------------FS COMMAND OR NOT FS COMMAND?------------------------FS COMMAND OR NOT FS COMMAND?------------------------FS COMMAND OR NOT FS COMMAND?------------------------FS COMMAND OR NOT FS COMMAND?------------------------FS COMMAND OR NOT FS COMMAND?[/glow]

Hi to all,

I'm a new comer here and I'm not sure if my question will sound dumb to some of you, but I'm trying to get my flash app to write to a file locally saved on my hard drive, not matter what this file format would be ( .xml, .txt, .xls, .mdb...) without using php/sql technology. I've been thinking about using some fscommand, from Flash or from third-party software, that would create the file in the first place, then write variables from the flash file into the created file, but so far, I remain unsuccessful. I wonder if the is a way to actually save data locally without server-side technology?

Hope some one out there will hear my call and give me some hint to go on by,

peace

Juan
 Cool

Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #1 on: 11/07/05, 04:05 »

If you mean save data to Client, you can use Shared Objects, check http://www.flash-db.com/Tutorials/saving/savingData.php?page=3

Jorge
Logged

john doe
Server what's that
*
Posts: 4


View Profile Email
« Reply #2 on: 11/07/05, 07:58 »

Hi jorge and thanks for your prompt answer.

Well I thought SO works only within a FlashComm environment... so this is good news. I've tested it, and tried to retrieve data stored in the ShredObject, but they won't show up. I've changed textBox type from input textField to Dynamic textField and still, nothing shows up! I'm sure I'm doing something wrong, so I've used as a test your save_so.fla tutorial and it doesn't work either. Is this some security issue, preventing me from writing data locally?

Juan
 Cool
Logged
papachan
Systems Administrator
*****
Posts: 507


View Profile WWW
« Reply #3 on: 11/07/05, 08:49 »

Hello john

Shared Object is not only used within netconnection from flashcomm, maybe you are speaking about Remote SharedObject.

You can use Shared Object like a simple cookie Object, but maybe it should better to save all your datas on a server shared by user, cause if the player change, the user loose all his datas...
Logged

Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #4 on: 11/07/05, 09:17 »

Look at the source of the file, above the uncomented lines there are comented ones:

/* Comment above lines and uncomment this if you want to see how Flash get SO data
...

Coment previous and uncoment this ones to see your saved data.

Jorge
Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!