A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Is there any way to read and write to files without using external code

  1. #1
    Creator of The Other Realm
    Join Date
    May 2006
    Posts
    1

    Question Is there any way to read and write to files without using external code

    Is there any way to read and write to files without using external code or am I going to have to use php or some other kind of script. I know that the XMLConnecter and WebServiceConnecter have a .send function but how you use it, and what for I'm not sure. It is really annoying that actionscript does not have something similar to php's write/read/append functions. I know that there are security and client/server issues, but it seems like it would make flash so much more powerful if it had functions that easily could write to files in your directory.
    ___________
    Aaron E-J
    http://otherrealm.org
    http://aaronej.blogspot.com

  2. #2
    Senile member! :)
    Join Date
    Dec 2001
    Location
    Saunaswamp (transl)
    Posts
    2,296
    No you cannot do that in Flash. If it's going to be an exe file that is either distributed on CD/DVD / downloaded of the net you can use a 3:rd party application like Zinc ( http://www.multidmedia.com ).

    For an application online: no! There would be too much of a security hazard for it to be allowed.

    Flash 5 did have an undocumented fscommand that allowed you to save a textfile out of a projector. But it was removed. I think Macromedia (now Adobe) even removed the technote describing it of their website.

    /Mirandir

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center