XML Review Database?

Hey all,

More and more, I’ve been tying to use XML in my website to make things easier to update. At the same time I’m also trying more and more to learn about XML.

I have a review website www.blurbreviews.co.uk which I am about to do a complete revamp of, and I was wandering, can anyone show me how to create an XML method of listing reviews?

Specifically, I need like a table (possibly a fancy/nice-looking one?) with ‘Name of reviewed item’ ‘Author’ ‘Date’ ‘Rating’ etc and a button to view the review.

The main reason I want to use XMl is obviously because I hated having to update the FLA/SWF file everytime I added a review.

Thanks in advance for any time/help,
Regards
Blurb

First of all, you have to learn how to get the XML data into Flash and how to handle it. After that you can start positioning, layout etc.

Here’s a great one: http://www.actionscript.org/tutorials/intermediate/XML/index.shtml

ok thx Voets, I’ll have a look at the link you posted and get back to you,

Regards
Blurb

Hey,

I read all of that link, and it was extremely helpful, I think I now have a basic understanding of how to pull data from an XML doc and Trace it. That’s the problem though, that tutorial tells me how to trace the results of the query, but I’m still kind of lost on how to make the data appear in a text box etc, as I would need to for my reviews database.

Thanks for any help,
Regards
Blurb

Well from the point you have got your XML data succesfully into Flash, you can do whatever you want with it. For the example with the textbox, you just need to set the text property equal to the data you retrieved from XML. Like this:


theRetrievedData = xml.firstChild.childNodes[2] ....
thetextbox.text = theRetrievedData;

ok thanx Voets, I’ll try and work with this,

Regards
Blurb