Adding text to the Photo Gallery

Hello everyone! I was wondering if anyone could help me out with adding dynamic text to the photo gallery (the same photo gallery as outlined on this site). Basically, as the picture changes, I also want a dynamic text box to display the title of the photo (or at least the filename). Should be relatively easy, but my programmin skills aren’t the best.

Hello

How’s about this:

 
function caption (text) {
	_root.dynamicText = text;
}	

And everytime you want to call the function just go:

 
caption ("Here's me taking my bubble bath!")

i think that’s right

hmm… but that won’t change everytime a new picture is loaded…
How can I give each individual picture a caption?

yes it will…just change the message to something else…

eg: Frame1

  
function caption (text) {
	_root.dynamicText = text;
} 

caption ("Hello World")


Frame 2

  
caption ("Bye World!")

OK, I see what you mean. The problem is that my images are loaded dynamically and I only use one frame for the slideshow. So all images will appear on one frame, otherwise your idea would work just fine. Any other ideas?

Place them in a movieclip?

check out XML.