PDA

View Full Version : help with xml


eLm0s
09-27-2006, 10:43 PM
Hey,

I have a question...

I want to know if it would be easy to have flash edit and save an xml file rather then using something else?

All I really need to do is be able to read the xml file first, then be able to edit/replace values in that document, and save it. thats all.

I already have a form where a user must select data, and those data are stored inside a var... but how could I make it so that i can put values back into the xml file?
thanks

Flash Gordon
09-27-2006, 10:44 PM
I want to know if it would be easy to have flash edit and save an xml file rather then using something else?

flash can't edit or save an xml file. or any file for that matter (besides SO).

wintzell
09-27-2006, 11:07 PM
You can do this dynamicaly with a projector such as screenweaver.
http://www.screenweaver.org

But it's kind of a pain in the ass.

eLm0s
09-28-2006, 03:12 PM
You can do this dynamicaly with a projector such as screenweaver.
http://www.screenweaver.org

But it's kind of a pain in the ass.

alright..thanks both of you...I'll look at srceenwaever... but is there another language I can use to create a gui and edit some of the values in a .xml file? thanks

Rhino
09-28-2006, 03:20 PM
you can use a preprocessor language like php or asp to build an XML file then send it into your flash movie. Then, once it has been edited, you can have Flash send the data backto another server-side script to break down the xml and save the values.

That's also a pain in the ass though.

-Rhino

dialectric
09-28-2006, 05:29 PM
The tools will be a bit unfamiliar if you're used to flash, but Director Lingo can write to, and overwrite, XML files, and is a pretty quick GUI prototyping tool.

If you use Director, you'll need to find/write a lingo script which employs the fileIO xtra. You can embed Flash in Director, and pass variables back and forth, but that's getting a bit more complicated.

-dialectric

(Not sure what a good link describing this is, but
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_3192
describes the fileIO xtra, at least.)

eLm0s
09-28-2006, 07:48 PM
The tools will be a bit unfamiliar if you're used to flash, but Director Lingo can write to, and overwrite, XML files, and is a pretty quick GUI prototyping tool.

If you use Director, you'll need to find/write a lingo script which employs the fileIO xtra. You can embed Flash in Director, and pass variables back and forth, but that's getting a bit more complicated.

-dialectric

(Not sure what a good link describing this is, but
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_3192
describes the fileIO xtra, at least.)

cool, well.. I was trying to make this a "little" project lol.. well I'll thry those out and see if I fall in a pot hole or not. thanks

Flash Gordon
09-28-2006, 07:58 PM
if this is off line, buy Zinc. It will make it a "little project"

Rhino
09-28-2006, 08:02 PM
Zinc will take a "little project" and turn it into "somebody grab my arm before I stab out my own eyeballs with a rusty spoon".

http://www.northcode.com/ SWFStudio works way better IMHO