Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: open
I've been developing PHP and MySQL-based sites for a little bit, nothing too fancy, but enough to be able to call up, update and delete records from a database and display the contents in an XHTML page.
Now, (against my wishes as I'm not the biggest Flash fan) I've been asked to develop a Flash-based CMS so that my client can edit at minimum text, add mp3s to a player and upload images to a photo gallery.
I understand there is a lot of work involved in creating database-driven Flash sites, but I've heard about updating XML files with file locations via PHP so that a site owner can do things like upload images and mp3s to designated directories with some simple HTML and PHP forms.
Then, I hope, Flash could read an XML file that has been updated through my PHP scripts and display any images and mp3s within the two directories in a flash movie container.
Possible? Fantasy? Or stupidly difficult to set up and worht outsourcing to an experienced programmer?
Any advice appreciated as I'm sure some of you have come across the problem of setting up Flash sites as CMSs before.
that sure is possible, though it requires some work on the flash-side. a lot of flash-video/audio-players work that way. the original script is unchanged, you just tell it which xml-file to read and define your playlist in that file. similar, you could just put text etc into that file. maybe you can do it easily by looking at the source of some open source-flash-player that uses this technique and see how they do it. if you're not familiar with flash, I guess you have to outsource at least this part, though.
I'm *fairly* familiar with Flash and have enough Actionscript knowledge to be able to do things like assign actions to movie clip timelines, but I'm no guru.
Is there a tutorial you or anyone else reading this could point me towards to check out this kind of functionality with Flash (i.e. calling variables from an XML file)? It would be very useful to know how to do this.
I wouldn't build the entire CMS in Flash, although it could be done, there are many methods to import/export/modify/format text - one of the CS3 examples at Adobe's Flash developer area is an entire "newspaper" layout. It would just be easier to create the CMS using server-side scripting, with part of it's functions used to modify the XML and manage file uploads. Especially true when it comes to cleansing data and security issues.