Hey,
I created a guestbook with an external xml file.
You can enter items into the xml file.
But the problem now is that al the entries are showed.
Now I want to have that I can browse between the files.
That I can see the next or previous 10 entries.
This is the code I used.
menuXml = new XML();
menuXml.ignoreWhite = true;
menuXml.onLoad = function(success) {
if (success) {
menuItem = this.firstChild.childNodes;
for (var i = 0; i<menuItem.length; i++) {
item = content_mc.attachMovie("itemClip", "itemClip"+i, i);
item._x = 0;
item._y = 101*i;
item.useHandCursor = true;
// Info in sublist
item.myBericht.text = menuItem*.attributes.bericht;
item.myEmail.text = menuItem*.attributes.email;
item.myGender.text = menuItem*.attributes.geslacht + " :: mail";
item.myData.text = menuItem*.attributes.datum + " :: " + menuItem*.attributes.naam + " ( " + menuItem*.attributes.plaats + " ) " + "wrote:";
}
}
};
menuXml.load("gastenboek.xml");
Who can help me with this?
I dont think it’s hard to find but I just cant manage it.
Thx in advance