I’ve created a series of thumbnails to load their corresponding external fullsize JPEG into a container movieclip. Above the container movieclip is a dynamic text field which I would like to have captions for the different photos when they are loaded. I would like to incorporate the captions via xml but I know next to nothing about xml but I figured out I need to sort out the following:
- How do I structure the array for the pictures and their corresponding captions in a .xml file?
e.g.
pic01 - “Great Wall of China”
pic02 - “Statue of Liberty”
etc
-
How do I script within the first frame of my main movie to reference to this .xml file?
-
What script do I attach to each thumbnail button such that doing an ‘onRelease’ would call forth the corresponding caption and display it within the dynamic text box?
-
How must I name the dynamic text field to identify itself as the caption placeholder?
Any advice would be greatly appreciated.
Dan