Working with XML contentOpen the gallery.xml file in Dreamweaver (File -> Open), to change the content of your gallery. Also, you can open the XML content file through FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Classic Photo Gallery). After that, in the category of 'Slides', click the 'Edit' button near the 'Source' field. The following example shows the basic structure of the content XML file: <?xml version="1.0" encoding="utf-8"?> <gallery> <item image="photos/photo01.jpg" thumb_caption="Photo 1" description="Any short text"></img> <item image="photos/photo02.jpg" thumb_caption="Photo 2" description="Any short text"></img> <item image="photos/photo03.jpg" thumb_caption="Photo 3
640x480" description="Any short text"></img> </gallery> In this example, parent <gallery> tag contains 3 child tags <item>. In the caption of the thumbnails for the third image is used line hyphenation character '
'. The usage of the special symbol provides you to create a caption in a several lines. <gallery>DescriptionMain tag and contains the description of the image gallery. <item>DescriptionContains the path to the image file and description of this image. Attributes
Optional attributesThe following attributes are optional for tag <item> and used in conjunction with the parameter linkAction="GetLink".
|