PDA

View Full Version : replacing a xml node from flash


inakibalzac
12-05-2003, 06:18 AM
Hi!

I would like to replace a xml node value. the problem is that I change it in the flash object but i canīt change it in the xml file. therefore when i filll my listview with xml values, it takes old values (it fills from xml file and the problem, as i said before, is that i canīt update those values in the xml file)

How could i fix it?

Does it have anything to do with xml.send method? can you give an idea about how to handle it from xml?

thanks a lot.

Stimpson
12-05-2003, 12:16 PM
Hey and welcome inakibalzac,

I don't think there is a direct way to change values in xml files from flash, although I'm not completely sure. But I think you best be looking for some php/ javascript solution for that. I'm sure there out there somewhere. Do a google search, perhaps something will come up.

xml.send will be used in that case to send xml which you created in flash to some script which turns it into an ectual xml document.

CyanBlue
12-05-2003, 12:20 PM
javascript???
:confused:

Stimpson
12-05-2003, 12:29 PM
javascript???Why does javascript confuse you CyanBlue, does that happen often.:confused: ;)

CyanBlue
12-05-2003, 12:36 PM
Oh... It's just that I have never wrote any text file via JavaScipt... I know that you can use documents.write() or something similar to make the HTML abit more dynamic, but not to the extent on writing the file... That's sorta new to me... That's all... :)

Stimpson
12-05-2003, 12:42 PM
No your right :rolleyes: :).
Javascript wouldn't be the best choose for that. I just ment 'look for a script that does that', and for I knew it I typed javascript. Probably it's more of a php/cgi/perl ;) kinda script, but as you might have guessed I haven't used it before.

CyanBlue
12-05-2003, 12:45 PM
Oh... I see... Yup... PHP sure can do it... ;)

Stimpson
12-05-2003, 12:47 PM
Glad I could help........................oohhh wait, I didn't. :o :p

CyanBlue
12-05-2003, 12:54 PM
Yes, you did... :)

Stimpson
12-05-2003, 01:20 PM
Well, ok then. (Hope inakibalzac still is able to figure this thread out though :D)

CyanBlue
12-05-2003, 01:26 PM
;)