Pablo wrote:
Thanks Jerry, but this CMS is just for updating the data shown in a
Flash site, not for a list of records in a relational DB or something
like that.
OK, but I still think it's a better way to go, especially if you're
updating the data fairly often. Remember to flock() the file before
every access (write OR read) to ensure you don't have two people
updating at the same time and no one gets a partially-written file.
Thatīs why i prefer to post the variables in a xml file -or just a txt
file-, from the form to show them from the dynamic fields in the swf.
Can it be possible?
For now, I have a txt file with the variables &text=, &image=, etc.
where the swf get the data to show. If I use xml, Flash can parse the
file to show directly the attributes.
Thank you again,
Pablo.
OK, you can do it, but I'm not sure this is the right way to go.
You can build your XML document with SimpleXML using addChild() and
addAttribute(), then use asXML() to write it to your file. Not too
hard, if the XML is simple.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================