I have been working on a Flash movie that loads variable data from an external XML file and dynamically displays the item names in a menu which may then be clicked to display other dynamically-loaded content that corresponds to the menu item that was clicked.
I have now come to a standstill in the project as there is something I’d like to achieve but simply cannot work out how. This is my first attempt at working with XML in Flash and one of my early attempts at using variables.
What I’m trying to achieve is; once the user has viewed the item’s content, they can simply click “next” and “previous” buttons to display all of the content for the next or previous items in the XML document.
I know it probably sounds simple and I’m sure some of you could achieve this in 5 minutes (!) but I can’t get my head around some of the coding. I assume previousSibling and nextSibling would come into play here as well as some sort of functions which access arrays of data for the previous and next items, but I’m just not sure how to correctly put these things to use.
Rather than post my code and example images of the stage up here on the forums, I’ve created an html page here: [color=#22229c]http://www.basemedia.com.au/hosted/help[/color]
Please, if you think you can be of any help, check it out. I would really appreciate it.
Thanks.