saving data to a local XML file

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default saving data to a local XML file

    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!


    Goo101 Guest

  2. Similar Questions and Discussions

    1. Saving video to local machine using FMS
      Is there a way to save a video file to the local users machine using FMS? How about take several video clips and appending them into one clip using...
    2. LWP - multipart/form-data file upload from scalar rather than local file
      I'm looking to do an HTTP upload, preferably with HTTP::Request::Common, but get the file data from either a filehandle or a scalar rather than...
    3. Saving data to an XML file???
      DJAnim8 wrote: Only with the help of third-party products. -- Carl Fink Please respond to the newsgroup only.
    4. Saving data to an XML file???
      Is it possible to save data to an XML file? I thought there was but can't seem to find anything to do it. I can read XML data fine, just no way of...
    5. Saving a string to local file
      Is there a way I can save a string, locally, on the user's machine, offering them the chance to save it to a filename? Thanks, Ike
  3. #2

    Default Re: saving data to a local XML file

    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
    [url]www.lonhosford.com[/url]
    Flash, Actionscript and Flash Media Server examples:
    [url]http://flashexamples.hosfordusa.com[/url]
    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!
    >
    >

    Motion Maker Guest

  4. #3

    Default Re: saving data to a local XML file

    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!

    Goo101 Guest

  5. #4

    Default Re: saving data to a local XML file

    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

    Darr_darshan Guest

  6. #5

    Default Re: saving data to a local XML file

    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 . . .
    Goo101 Guest

  7. #6

    Default Re: saving data to a local XML file

    >>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.


    MotionMaker Guest

  8. #7

    Default Re: saving data to a local XML file

    >>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 . . .

    [url]http://www.multidmedia.com/software/zinc/features/01.php[/url]

    MotionMaker Guest

  9. #8

    Default Re: saving data to a local XML file

    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!
    Goo101 Guest

  10. #9

    Default Re: saving data to a local XML file

    Anyway, sorry, I forgot to say . . . "Thanks Lon" . . . your help and guidance on this issue is much appreciated . . .
    Goo101 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139