;

PDA

Click to See Complete Forum and Search --> : Is there any way to read and write to files without using external code


AaronEJ
05-02-2006, 06:21 PM
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

Mirandir
05-03-2006, 05:25 AM
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