If this is going to be a CD application, you can't alter the xml unless it is copied to the users' harddisk first.
One option would be to read the xml the first time the application is started (from cd) and store it in a SharedObject. You can then do whatever you want with it. So you only use the xml as starter data and afterwards use the SharedObject data. Another option is to copy the xml to disk (or the whole application using an installer like NSIS) after which you can edit the xml. You'd probably want to use something like Zinc (or any other 3rd party Flash wrapper) which allows you to read/write to disk. And yet another option is to use AIR, which has SQLite support built in (file-based database), so you could use that instead of xml. An AIR application has to be installed to disk. And AIR is currently in beta (available from adobe labs). You can use SQLite with Zinc as well, but it's not built in. There's an AS2 API available from thecodezone.com. AIR http://labs.adobe.com/wiki/index.php/AIR http://www.mikechambers.com/blog/2007/05/30/apollo-beta-will-include-sqlite-embedded-database/ SQLite http://www.sqlite.org/ http://coenraets.org/blog/2007/06/sqlite-admin-application-for-air/ Zinc http://www.multidmedia.com/software/zinc/ http://www.thecodezone.com/downloads/sqlite.html NSIS http://nsis.sourceforge.net/Main_Page http://nsis.sourceforge.net/EclipseNSIS_-_NSIS_plugin_for_Eclipse SharedObject http://www.adobe.com/go/tn_16194 http://livedocs.adobe.com/flash/8/main/00002661.html regards, Muzak ----- Original Message ----- From: "Omar Fouad" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <[email protected]> Sent: Sunday, July 15, 2007 12:54 PM Subject: [Flashcoders] Xml based database with flash >I am working on a company cd project that requires a flash interface and a > small database. I'm Thinking of using xml as in the project will work on a > cd, and using xml is the only way that lets me get data dinamically without > the use of any server side script... > The application requires also a control panel that lets the user edit the > entries, that in this case I will need to access the xml and alter > it through flash. I know that without any server side script is impossible > editing and saving an xml file trough flash.. So i thought that the user can > edit the xml through excel as in opening the xml file on , edit the fields > and save it. Excel opens the xml in a table format edits it, but than again, > when i go to save it, it doesn't work... any thoughts...??? > > thanks for helping > > -- > Omar M. Fouad - Digital Emotions > http://www.omarfouad.net > > +2010 - 2346633 - +2012 - 2644441 _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

