Photo Gallery Using XML/Flash Tut.Question

I have recently gone over the following tutorial, and I have one question

[SIZE=4][COLOR=#003366]Photo Gallery[FONT=Verdana] Using XML and Flash[/FONT][/COLOR][/SIZE]

If i wanted to change the dynamic text fields to load in actuall images (jpgs)
rather than a dynamic text caption

How would I modify the code?