PDA

View Full Version : Saving a file



colazo
January 8th, 2010, 07:15 PM
Is there a way to save a file directly from a movie?
The one way involves php.
The other way is to use FileReference save(), but this one opens a dialog box.

Is there a workaround to save the file directly from a movie with no php involved and no dialog boxes pop up?

Krilnon
January 8th, 2010, 11:06 PM
And without using wrappers like AIR? No, not unless you count SharedObjects as files. I mean, they are files, but you don't get to choose where they're stored, what they're named, and the user will see a dialog box if you go above a size that they set.

Scythe
January 8th, 2010, 11:07 PM
What kind of file? If it's just like a cookie, use a SharedObject.

http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7d80.html

http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/net/SharedObject.html (http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/net/SharedObject.html)

EDIT: one minute late :(