![]() |
|
Dreamweaver Extensions
|
Working with XML contentOpen the banner.xml file in Dreamweaver (File -> Open), to change the content of your banner. Also, you can open the XML content file through FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Flash Banner). 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"?>
<banner>
<item image="photos/photo01.jpg" align="lt" alt="SELECT SLIDE 1" link="empty.html" target="_blank">
<![CDATA[
<font face="Impact" size="24" color='#FFFFFF'>Caption 1</font>
]]>
</item>
<item image="photos/photo02.jpg" align="lb" alt="SELECT SLIDE 2" link="empty.html" target="_blank">
<![CDATA[
<font face="Impact" size="24" color='#FFFFFF'>Caption 2 - Line 1</font>
<br>
<font face="Myriad Pro" size="14" color='#F87A65'>Caption 2 - Line 2</font>
]]>
</item>
<item image="photos/photo03.jpg" align="rb" alt="SELECT SLIDE 3" link="empty.html" target="_blank">
<![CDATA[
<font face="Impact" size="24" color='#FFFFFF'>Caption 3</font>
]]>
</item>
In this example, parent <banner> tag contains 3 child tags <item>. Also to each slide you can attach a hyperlink and a special font. <banner>Description <item>Description 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 Banner). Attributes
|