View Single Post
  #3  
Old 06-09-2008, 06:52 PM
 
embroodles embroodles is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 82
 

Default Re: Flash Slide Show

Thanks for the reply Phil
I took your advice and tried to amke this work but in the welcometpl.
All I get is is a staright line across the screen

Do you know if beside modify the the xml and tpl and adding thos line is there any thing else to do

here is my tpl. ,am I suppose to change anything else
{*---------------------------------------*}
{* Set Banner Height *}
{assign var='bh' value='401'}
{* Set Banner Width *}
{assign var='bw' value='680'}
{* Set Minimum Flash Version *}
{assign var='fv' value='6'}
{* Set Background Colour *}
{assign var='bgc' value='#FFFFFF'}
{*---------------------------------------*}
<div id="banners" style="height: {$bh}px; width: {$bw}px;">
<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">Please upgrade your Flash Player and turn on Javascript.</a>
</div>
{literal}
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("{/literal}{$SkinDir}/banners/banners.swf", "banners", "{$bw}", "{$bh}", "{$fv}", "{$bgc}{literal}");
so.addParam("menu", "false");
so.write("banners");
// ]]>
</script>
{/literal}
do I have to remove the comment out

heres my xml
<!-- 'h' = Height of banner -->
<!-- 'w' = Width of banner -->
<!-- 'bgColour' = Background colour of stage -->
<!-- 'borderSize' = Size of component border -->
<!-- 'borderColour' = Colour of the component border -->
<!-- 'loadFontSize' = Preloader text size -->
<!-- 'loadFontColour' = Preloader text colour -->
<!-- 'textValue' = Text that accompanies banner title -->
<!-- 'textFontSize' = Text size of banner title -->
<!-- 'textFontColour' = Text colour of banner title -->
<!-- 'textBackgroundColour' = Colour of background that banner title appears on -->
<!-- 'textBackgroundAlpha' = Transparency of background that banner title appears on -->
<!-- 'showText' = true or false to indicate in banner title is to display -->
<!-- 'transitionTime' = Time taken for banner to appear - in seconds -->
<!-- 'pauseTime' = Time for banner to stay on stage - in seconds -->
<bRotator
h='401'
w='680'
bgColour='FFFFFF'
borderSize='1'
borderColour='000000'
loadFontSize='12'
loadFontColour='000000'
textValue='... Click here to view'
textFontSize='12'
textFontColour='000000'
textBackgroundColour='FFFFFF'
textBackgroundAlpha='75'
showText='true'
transitionTime='1'
pauseTime='2'
>
<!-- Possible Banner Transitions: slideLeft, slideRight, slideTop, slideBottom, scaleCentre, fadeCentre -->
<banner transition="fadeCentre">
<title>Banner 1 Description</title>
<image>skin1/banners/images/babyslide.jpg</image>
<link>http://www.embroodles.com/home.php?cat=249</link>
</banner>
<banner transition="fadeCentre">
<title>Banner 2 Description</title>
<image>skin1/banners/images/birdhouseslide.jpg</image>
<link>http://www.embroodles.com/product.php?productid=16262&cat=260&page=1</link>
</banner>
<banner transition="fadeCentre">
<title>Banner 3 Description</title>
<image>skin1/banners/images/cuteanimslide2.jpg</image>
<link>http://www.embroodles.com/home.php?cat=259</link>
</banner>
<banner transition="fadeCentre">
<title>Banner 4 Description</title>
<image>skin1/banners/images/designsetslide.jpg</image>
<link>http://www.embroodles.com/home.php?cat=257</link>
</banner>

</bRotator>

did i miss something?

added the -- <script type="text/javascript" src="{$SkinDir}/banners/swfobject.js"></script>
tried in multiple spots in welcome tpl -no luck
{include file="banners/banners.tpl"} this was added as well

maybe some guidence from someone who knows
the best I had at one point is your flash player needs an upgrade and turn on java

oh yes also disabled featured products by commenting out in welcome.tpl

before I tried this was my code with the images resting in the root folder
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="669" height="400">
<param name="movie" value="featureslide.swf">
<param name="menu" value="false">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<param name="scale" value="noscale">
<embed src="featureslide.swf" menu="false" quality="high" wmode="transparent"
scale="noscale" width=669 height=400 type="application/x-shockwave-flash"
pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed>
</object>

preloader uploaded -in root

am i limited to just 3 images ,maybe thats my problem ,I added another set for a 4th image



thanks Bill
__________________
4.1.9
Reply With Quote