I am trying to create a dynamic “Team” Section for a skateboard/snowboard website. The teams are broken down into three categories: Skateboarding, Snowboarding and Staff.
I am trying to extract all my info from an XML file (team.xml), eventually the xml will be created by PHP:
<teamSection>
<team id=“Skateboarding”>
<rider name=“Rider’s Name”
bio=“No Bio”
src=“image.jpg” />
</team>
<team id="Snowboarding">
<rider name="Nate Butcher"
bio="No Bio"
src="" />
</team>
<team id="Staff">
<rider name="Staff Name"
bio="No Bio"
src="" />
</team>
</teamSection>
What I am trying to create is similair to that of a photo gallery. Except I am trying to load the riders thumbnails into a ?scrollpane? and so they create rows and columns under the approporiate heading.
i.e.
Skateboarding |
---|
Thumb 1 Thumb 2 Thumb 3 Thumb 4
Thumb 5 Thumb 6
Snowboarding |
---|
Thumb 1 Thumb 2 Thumb 3 Thumb 4
Thumb 5 Thumb 6
Staff |
---|
Thumb 1 Thumb 2 Thumb 3 Thumb 4
Thumb 5 Thumb 6
Any suggestions? Should I create three sperate functions for each category? A seperate movie clip for each category.
Thanks.
randomlargetext