PDA

View Full Version : Flash+XML Running Local



lecasn5
April 20th, 2005, 07:07 AM
Hi

I found many helpful guides to work with Flash and XML. But everytime I look for ways of sending back to XML changes produced in Flash, the tutorial always assume that we are using a server. Is there a way for having a Flash projector that everytime it starts 1-checks for data to load to the projector 2- lets us do changes to data (add, change and remove xml data) 3- and in the end we can save the changes made to the XML file that was initially loaded?

claudio
April 20th, 2005, 08:05 AM
No Flash cannot save XML on its own.
That's why tutorials always assume you're using PHP or ASP (or some other server side language)

lecasn5
April 20th, 2005, 08:42 AM
That's a sad thing to hear...

What about other options that could produce the same results: text file, Access data base, is there a way for Flash to store data locally, without a server?


Thanks

virusescu
April 20th, 2005, 09:23 AM
Is there a way for Flash to store data locally, without a server
Yes, there is. -> SharedObject - Run a search in the help files .. SharedObject class - there is a good tutorial on kirupa too.. if I remember well :).

But data stored in a sharedObject will not be accesible form other place than the Flash that wrote it to disk.