AIR is another publishing method available in Flash and because it creates an 
executable that removes many of the Flash player's security restrictions. Prior 
to Flash CC you could also create a Mac or Windows projector that would save a 
file. 

I think most methods still require user interaction, but its usually not that 
hard to scare up some sort of user interaction to trigger the saving. The user 
doesn't necessarily need to choose the save location each time, just the save 
process needs to be triggered by a user interaction.

On Feb 10, 2014, at 5:55 AM, natalia Vikhtinskaya <natavi.m...@gmail.com> wrote:

> Thank you for your answers. Unfortunately I don't know AIR or Zinc. I
> looked for a way to publish this application as swf file and then convert
> it to exe. I did that before with games.  So no way to do that without AIR
> or Zinc?
> 
> 2014-02-10 5:41 GMT+04:00 <d...@eyebright.com>:
> 
>> Natalia,
>> 
>> You can use the File (see e.g. "applicationDirectory" or "resolvePath")
>> and Filestream (open, read<x>, and write<x>) functions, but these are only
>> available if you're using Air (other wrappers like Zinc have similar
>> functionality).  If it's an executable created by simply Publishing with
>> Flash Player as the target, I think security issues prevent you from doing
>> this.
>> 
>> HTH,
>> --Dave
>> 
>>> ----------------------------------------------------------------------
>>> From: natalia Vikhtinskaya <natavi.m...@gmail.com>
>>> 
>>> Hi to all friends
>>> I have to create stand alone application  that can read xml file then
>>> after
>>> editing save it on the disk. I need to do that by FlashCs6. I know that
>>> FileReference.load() : Loads data from a file selected by the user.
>>> FileReference.save() : Saves data to a file location selected by the
>> user.
>>> Is it possible to save and read without  the user?
>>> What is the better way for this task?
>>> Do you know any good tutorials with examples on this subject? This task
>> it
>>> new for me and I want to read about that more.
>>> 
>>> Thank you in advance.
>> 
>> 
>> _______________________________________________
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> 
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

David Benman
Interactive Developer
d...@dbenman.com
http://www.dbenman.com
(315) 637-8487 (home office)




_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to