Working with XML contentOpen the slides.xml file in Dreamweaver (File -> Open), to change the content of your slideshow. Also, you can open the XML content file through FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Flash Slideshow). After that, in the category of 'General', 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"?>
<slides>
<img src="photos/photo01.jpg">
<title x="50" y="25" width="200" align="left">
<![CDATA[
<p shadow="true"><font face="Impact" size="24" color='#FFFFFF'>Caption</font></p>
]]>
</title>
</img>
<img src="photos/photo02.jpg">
<title x="50" y="25" width="200" align="left">
<![CDATA[
<p align="justify" margin_bottom="10"><font face="Impact" size="24" color='#FFFFFF'>Caption</font></p>
<p href="www.flashdevelopment24.com" target="_blank"><font face="Myriad Pro" size="14" color='#F87A65'>Hyperlink</font></p>
]]>
</title>
</img>
<img src="photos/photo03.jpg">
<title x="50" y="25" width="200" align="left">
<![CDATA[
<p><font face="Impact" size="24" color='#FFFFFF'>Caption</font></p>
]]>
</title>
<title x="250" y="25" width="200" align="left">
<![CDATA[
<p><font face="Impact" size="24" color='#FFFFFF'>Caption</font></p>
]]>
</title>
</img>
</slides>
In this example, parent <slides> tag contains 3 child tags <img>. There are only three slides, in this example. Each slide contains its own title. The second slide title consists text and hyperlink. The third slide has two titles at different positions. <slides>DescriptionMain tag and contains the description of the component. <img>DescriptionContains the path to the image. Attributes
<title>DescriptionContains the title of the slide. Attributes
Title used a special symbols <![CDATA[...]]>. Each title consists of paragraphs <p>. The text of a paragraph can be edited with the help of HTML tag <font>. Besides a default tag attribute align for the tag <p> it is available additional attributes:
Note: If you use 'Use embedded fonts' in the extension parameters, which allows to use built-in fonts, you need to edit file fonts.xml according the used fonts in tag <font>. This fonts are uploaded from a special SWF file. Or you can turn off this option in FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Flash Slideshow).
|