[haXe] XML File generation
maumac
maumac at gmail.com
Wed Jan 3 16:50:20 CET 2007
Which platform are you working on?
Even though Flash doesn't let you write to disk, there are several
techniques you can use to indirectly achive this.
A very simple one would be writing a PHP script that writes to the
file, and then call it from Flash in a HTTP call.
There are also more robust solutions like AMFPHP and haXe remoting.
Maurício Machado
On 1/3/07, Bastien Helders <eldroskandar at gmail.com> wrote:
> Too bad, what I wanted to do is creating an interface using an xml as a file. Then the interface could be changed, and so I wanted to save the changes on the xml file, so the next time I run the application it takes the changed interface and not the original one.
>
> I don't know if I'm clear, but it would be great to add something that can permit that.
>
> Bastien
>
>
> 2007/1/3, Nicolas Cannasse < ncannasse at motion-twin.com>:
>
> > > Hi list,
> > >
> > > I've been seaching if it's possible to generate an xml file from a
> > > string with haXe, and I didn't find anything in the tutorials and
> > > searching through the API is not easy, because is not always obvious to
> > > know what a function do or where to search in the first place. Any help
> > > would be welcome.
> >
> > If you are in Flash, you can't save a file on the drive.
> > If you are in Neko, you can use neko.io.File.create to create a file,
> > then write the string inside it, then close the file.
> >
> > Nicolas
> >
> > --
> > haXe - an open source web programming language
> > http://haxe.org
> >
>
>
>
>
> --
> haXe - an open source web programming language
> http://haxe.org
> --
> haXe - an open source web programming language
> http://haxe.org
>
>
More information about the Haxe
mailing list