![]() |
|
Dreamweaver Extensions
|
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 -> Flash Media Gallery). After that, in the category of 'Content', 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 caption="Video 01" image="photos/video01.jpg" video="videos/video01.flv" />
<item caption="Video 02" image="photos/video02.jpg" video="videos/video02.flv" />
<item caption="Photo 01" image="photos/photo01.jpg" />
<item caption="Photo 02" image="photos/photo02.jpg" />
<item caption="Photo 03" image="photos/photo03.jpg" thumb="thumbs/thumb01.jpg" />
</gallery>
In this example, parent <gallery> tag contains five child tags <item>. First two slides are video, because they contain attribute video. The others slides contains just photos. The feature of the last slide is that thumbnail for this slide loads from the separate file, which is mentioned in the attribute thumb. <gallery>Description <item>Description Attributes
|