Next xml node when buttons clicked

Hello everyone,

I have a file,which loads external movieclips in a main file,and you can navigate around,by using a next / previous button.It also has a dynamic textfield which loads an xml.
What I need to do is,load the second node of the xml file,when a second external swf is loaded.
For example:
First external swf loads,the first node of xml loads.Then,you click next button and the second external swf loads.Now,how can I make the same dynamic textfield display the second node of my xml file?
Is it possible?

Thanks in advance.

Hi,

you can do this by “nextSilblings” command of Xml node. read the xmlnode in flash help.

but i really recommends you to store all the values(xml nodes) in array. It will helps you to navigate or call next or previous easily. Try it and let me know if something else were required.

Cheers…