![]() |
|
Dreamweaver Extensions
|
Working without DreamweaverYou can work with XML Banner Rotator without Adobe Dreamweaver. To do this, for example, take as a basis our example from the package. From this package you’ll need only SWF and XML files. All parameters and settings are situated in the configuration file config.xml, which you can edit with the help of any software. The path to config.xml and banner.xml you can find in parameters of Flash Object: <param name="flashvars" value="configSource=config.xml&source=banner.xml" /> in HTML code. The following example shows the simple HTML code of the Flash Object:
<object id="Banner_Rotator" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="638" height="289">
<param name="movie" value="BannerRotator.swf" />
<param name="quality" value="high" />
<param name="flashvars" value="configSource=config.xml&source=banner.xml" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="swfversion" value="9.0.45.0" />
</object>
Also in the list of parameters you need to specify the link to content file (banner.xml), it should be done in line with config.xml, on-default it is <param name="flashvars" value="configSource=config.xml/> so you need add such record: &source=banner.xml Line with specified content file looks: <param name="flashvars" value="configSource=config.xml&source=banner.xml" /> where banner.xml is a relative link to your content file. You can adjust all available component parameters by editing the attributes of the tag <config> in the config.xml file and change content through banner.xml. The main difference during the work with Adobe Dreamweaver is that during the setting of parameters you use friendly user interface (FlashDevelopment24 Wizard). And also Dreamweaver automatically inserts necessary HTML code in the page and creates necessary files in the mentioned folder. All these actions you can do independently without any help and without Dreamweaver. Also, as a variant, you can download Dreamweaver trial version, create and adjust the component. In the future, to update the BannerRotator you needn’t Dreamweaver. The content of the component is situated in the banner.xml file. So you can open and edit XML file in any text editor. Additional information on adjustment and working with the component read other Help sections. |