saving data to a local XML file

Posted: 08-22-2006, 09:56 AM
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!


Reply With Quote

Responses to "saving data to a local XML file"

Motion Maker
Guest
Posts: n/a
 
Re: saving data to a local XML file
Posted: 08-22-2006, 10:14 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!
"Goo101" <webforumsuser@macromedia.com> wrote in message
news:ecekci$644$1@forums.macromedia.com...
>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!
>
>

Reply With Quote
Goo101
Guest
Posts: n/a
 
Re: saving data to a local XML file
Posted: 08-22-2006, 10:56 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!

Reply With Quote
Darr_darshan
Guest
Posts: n/a
 
Re: saving data to a local XML file
Posted: 08-22-2006, 01:45 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

Reply With Quote
Goo101
Guest
Posts: n/a
 
Re: saving data to a local XML file
Posted: 08-22-2006, 02:20 PM
Does anyone know how Zinc can be used to communicate with a locally stored XML file? I can only see options for communicating with a locally stored DB . . .
Reply With Quote
MotionMaker
Guest
Posts: n/a
 
Re: saving data to a local XML file
Posted: 08-22-2006, 08:39 PM
>>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)!?

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.


Reply With Quote
MotionMaker
Guest
Posts: n/a
 
Re: saving data to a local XML file
Posted: 08-22-2006, 08:45 PM
>>Does anyone know how Zinc can be used to communicate with
>>a locally stored XML file? I can only see options for communicating
>>with a locally stored DB . . .

http://www.multidmedia.com/software/...eatures/01.php

Reply With Quote
Goo101
Guest
Posts: n/a
 
Re: saving data to a local XML file
Posted: 08-23-2006, 09:07 AM
I understand the security issue involved in accessing locally stored files but I do believe Macromedia should leave this decision to the developer and not make it for us!
Reply With Quote
Goo101
Guest
Posts: n/a
 
Re: saving data to a local XML file
Posted: 08-23-2006, 09:13 AM
Anyway, sorry, I forgot to say . . . "Thanks Lon" . . . your help and guidance on this issue is much appreciated . . .
Reply With Quote
 
LinkBack Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Verifying Local Data Source summeru Coldfusion Database Access 1 06-21-2005 08:20 AM
Need to download data to local access database jv Dreamweaver AppDev 6 04-14-2005 09:00 PM
saving data from .FSO GaryCCY Macromedia Flash Flashcom 0 03-23-2005 06:40 AM
saving data in XML paulo fabiano Macromedia Flex General Discussion 2 03-03-2005 04:21 PM
Protect local data files from download? Steve C. Orr, MCSD ASP.NET General 5 07-05-2003 03:19 PM