all groups > flash data integration > august 2006 >
You're in the

flash data integration

group:

saving data to a local XML file


saving data to a local XML file Goo101
8/22/2006 12:00:00 AM
flash data integration: I am seeing repeated comments on this discussion forum that it's not possible
to save data from Flash into a locally stored XML file . . . but there must be
a way to do this. Why is you can read data from a locally stored XML file but
not update or add data to it . . . how absurd a design would that be, it simply
wouldn't be logical!!!

Please someone tell me this is possible! This is, again, something with Flash
which is driving me mad!

Re: saving data to a local XML file Motion Maker
8/22/2006 12:00:00 AM
Answer: Flash (a 1.3 MB tiny player program) does not communicate with the
File System or the OS like ponderously sized client players such as Visual
Basic or Java might. Flash uses network protocols and thus a server handles
the file system and OS.

However there are Flash wrappers that can communicate with the file system
and for that matter the entire OS. Zinc is one, but there are many if you do
some googling.

--
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
[quoted text, click to view]

Re: saving data to a local XML file Goo101
8/22/2006 12:00:00 AM
Hey Lon,

I understand what your saying but it still doesn't make sense.

How come Flash can communicate sufficiently with the File System and/or OS to
read data in from a locally stored XML file but yet cannot write updates or
additions to the same file (even though it has already pulled the file into the
..swf file to read from it)!?

I find this absurd in the extreme and terrible design to boot! If anyone from
Macromedia ever reads this please take note!

Thanks for getting back to me on this one Lon, 'tis much appreciated!
Re: saving data to a local XML file Darr_darshan
8/22/2006 1:45:25 PM
Hi goo101

I have posted the same question about xml few weeks back here but there was no
positive reply.

it can be done using php or asp

but by my view there must be a way to do it directly using flash.

working on this yet
Re: saving data to a local XML file Goo101
8/22/2006 2:20:36 PM
Re: saving data to a local XML file MotionMaker
8/22/2006 8:39:25 PM
[quoted text, click to view]
it)!?

Security: I believe it is following the same rules a web browser follows in
this respect. You really do not want content or software that potentially has
internet access to write to the local file system without an added security
code for authentication. Event with the latest Flash players, reading from a
local drive has security restrictions if your movie is dealing with http as
well.

Re: saving data to a local XML file MotionMaker
8/22/2006 8:45:03 PM
[quoted text, click to view]


http://www.multidmedia.com/software/zinc/features/01.php
Re: saving data to a local XML file Goo101
8/23/2006 12:00:00 AM
Re: saving data to a local XML file Goo101
8/23/2006 12:00:00 AM
AddThis Social Bookmark Button