Welcome Guest, Not a member yet? Register   Sign In
Flash banner problem!!
#1

[eluser]Roy MJ[/eluser]
Hi,

Ive been using the banner creator from activeden for quite sometime now for my websites. But i came across a problem where one has to implement more than one flash on the same page. How can we direct the xml file to call up a specified swf file. Please help.


My xml file is as follows:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<imageViewer>
<configurations width="900">
<reflections showReflections="true" reflectionPercentage="0.5" distanceBetweenImagesAndReflections="2" />
<images imageWidth="300" imageHeight="250" imageBorderWidth="2" imageBorderColor="0xFFFFFF" showImageBackground="true" glowColor="0xFFFFFF" imageClickAction="bringImageToCenter" />
<viewer slideInterval="4000" slideShowDirection="right" nrVisibleImages="9" centerImageScale="1.3" firstLastImageHeightPercent="0.6" distanceFromTheCenteredImage="1.2" />
</configurations>

<images linkTarget="_blank">
<image imageURL="http://www.holidayrentaldb.com/architect/gallery1/01.png"/>
<image imageURL="http://www.holidayrentaldb.com/architect/gallery1/02.png"/>
<image imageURL="http://www.holidayrentaldb.com/architect/gallery1/03.png"/>
<image imageURL="http://www.holidayrentaldb.com/architect/gallery1/04.png"/>
<image imageURL="http://www.holidayrentaldb.com/architect/gallery1/05.png"/>
</images>

</imageViewer>


View which calls on the flash is as follows :

Code:
&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" name="thumbViewer" width="900" height="430" align="middle" id="thumbViewer"&gt;
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="thumbViewer" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFFF" />    

&lt;embed src="&lt;?php echo base_url();?&gt;thumbViewer.swf" quality="high" bgcolor="#000000" width="900" height="430" name="thumbViewer" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" /&gt;

&lt;/object&gt;

Even if i create a new swf file and give the path , it wont take the new one.




Theme © iAndrew 2016 - Forum software by © MyBB