Hi there,
I am a designer, pretty new to XML. I am trying to create a site about construction whereby I can select a house from a list and then view the photos of that house, all using XML.
I can get everything working fine, except...
When I load the photos and move between them, it will always play the first picture of a new house, not the next picture of the same home. I.E. if I am on house #1, photo #1 and I click "next photo", it takes me to house #2, photo #1 and not house #1, photo #2 (which I what I want to happen).
Basically, I know I am displaying the childnodes' firstChild when what I want to do is move between siblings. However, I don't know how to do it!
View the source code at the following pages to see my XML and my Actionscript.
travelbugger.brucecheshire.com/xml.html
travelbugger.brucecheshire.com/actionscript.html
All help would be super appreciated!!!
thanks,
flipflop
I am a designer, pretty new to XML. I am trying to create a site about construction whereby I can select a house from a list and then view the photos of that house, all using XML.
I can get everything working fine, except...
When I load the photos and move between them, it will always play the first picture of a new house, not the next picture of the same home. I.E. if I am on house #1, photo #1 and I click "next photo", it takes me to house #2, photo #1 and not house #1, photo #2 (which I what I want to happen).
Basically, I know I am displaying the childnodes' firstChild when what I want to do is move between siblings. However, I don't know how to do it!
View the source code at the following pages to see my XML and my Actionscript.
travelbugger.brucecheshire.com/xml.html
travelbugger.brucecheshire.com/actionscript.html
All help would be super appreciated!!!
thanks,
flipflop