XML in shared object
Basically I need a dynamic data feed to lots of different movies operating at the same time. Using flash com and remote shared objects I've got that and it works very well. The problem has come from trying to put together the admin panel. I'm not going to be putting all the data in and non IT types will be.
I've tried using arrays, and to a certain extent these work, but only for the adding of data. Deleting data also sort of works, but if you don't do it in reverse order, this obviously screws up the arrays and they can't display properly. As some data will be put into the arrays that may - well - will, need to be deleted out of order this is a prob. I managed to get the ammending of data working, but then the design changed and I've on ly a limited area to work on and have to double the input area with the display area. Not a problem when adding data, but when you add amending, deleting, selecting the correct data etc. Nightmare!!!
Then I think I've found a solution through XML. Everywhere I look keeps telling me that I can use XML in flash. I've used an XML file to display through flash, and this works brilliantly. We're back at the admin panel being a prob as if I go down the XML route then I need to save an XML object to the remote shared object. I want to do this - I'm told I can everywhere - but I can't find info on how to do this.
Basically after that long preambe -
- I want to get and XML file out of a remote shared object, search it and display the data. DONE THIS BY USING THE XML TO POPULATE ARRAYS.
- I then want to manipulate, delete and then resave this data to the remote shared object. HAVEN'T DONE THIS BIT.
I'm not confident that this is a correct option, and want to know if ANYONE has done something similar and made it work. Otherwise I'm back to picking apart arrays and making them work.
P.S. I know that it would make more sence to use a database, asp, jsp, infact anything - I can't, i cannot load anything else onto the system we need to make this work, we have flash players, and flash com server - that's it!! I'll e-mail you the hair i've torn out if you don't believe me.
Sorry for an extraordinarily long post, no doubt full of typos, cos I'm tired, but any help gratefully recived. Even if it's a "No, you can't do that with flash, you're bing a muppet!"
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Runtime Shared Libraries||Bromid||Flash CS3 / Flash 9||7||02-14-2008 03:26 PM|
|XML directly into AS Object?||fhickler||Actionscript 2.0||3||11-29-2007 03:24 AM|
|turning dynamic text field into a variable for use inside xml object, need help||webjedikungfu||Actionscript 2.0||1||02-14-2007 01:54 PM|
|Shared Object Problems||fergal||Actionscript 2.0||0||10-22-2006 09:18 PM|
|new XML handling object||omar||General Flash||6||11-08-2000 12:28 PM|