client side flash update
- Started
- Last post
- 8 Responses
- junetic
Can I build a flash site using XML for text/img data and hope for some php to be able to write/edit the xml file? Or can I make a flash input text box interface to edit the xml? How is content management systems for flash sites usually done? (for simple add/del/modifying of images and text)...anyone helppp???
- tGP0
yes.
you can use php to edit/rewrite a xml document that the flash swf calls upon... another method would have a php file write to a database (such as mySQL), and then another php file run a query, or a lookup, of the information in that database, and have flash access it...
here is a decent tutorial on understanding bringing xml into flash:
http://actionscript.org/tutorial…
- junetic0
ok...i can do xml with flash...but have noooo idea how to edit the xml file from php or even with a flash input text box and variables....anyone...???
- unfittoprint0
as tGp indicated, it's better to use a db to store the info, query it using php and output the info to flash as xml.
- junetic0
awesome...i will crack my head and try to follow that tutorial...thank you unfit and tGp!!
- junetic0
can xml nodes be modified/del/added from flash? I am having trouble with php/mysql...i dont even know how to make a mysql database...
- Anarchitect0
well, you could change the individual nodes, create a new xml object and send the whole thing back and let php deal with it before sending to the db...
or
change some of the items in flash, send them via LoadVars to php to put it again on the db
- junetic0
for something really simple with menu items and text/imgs for each menu...can you just use xml as a 'database' and target each node in the xml file from a php driven html form...then resave the xml file for flash to update from...? ...assuming images will be uploaded separately...
- junetic0
anyone use this before?
http://cms.beaver82.com/