hi there,

i got a nice banner swf in size of the banner within danland theme .

How do I replace the slideshow banner with a .SWF flash show, so it plays instead of the default danland photos.

thanks
johan

Comments

danpros’s picture

Hi Johan,

Just replace the image with your .swf files in page-front.tpl.php:

<div class="slideshow">
<img src="<?php print $base_path . $directory; ?>/images/slideshows/sea.jpg" width="950" height="355" alt="slideshow 1"/>
<img src="<?php print $base_path . $directory; ?>/images/slideshows/noon.jpg" width="950" height="355" alt="slideshow 2"/>
<img src="<?php print $base_path . $directory; ?>/images/slideshows/snow.jpg" width="950" height="355" alt="slideshow 3"/>
</div>

Dan

vmed’s picture

yes, thats him
i try it up ther but dont work, can you give an example code

thanks

johan

danpros’s picture

Hi Johan,

You can try this:

<div class="slideshow">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="950" height="355">
      <param name="movie" value="themes/danland/images/filename.swf" />
      <param name="quality" value="high" />

<embed src="themes/danland/images/filename.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="950" height="355"></embed>
    </object>
</div>

This is if the .swf files in images folder.

Dan

vmed’s picture

dan,
many thanks for your help, it looks amazing !

johan

danpros’s picture

Status: Active » Closed (fixed)

Okay, no problems with that :)

Problems solved. Closed.

Thanks,
Dan

JC8008’s picture

Dan

Thank you so much. This slideshow.swf has been at the core of my whole site. It looks fantastic, and works really well.

Thanks again.

Helliquin’s picture

Hey guys

I have also been trying to replace the slide show with a .swf by using the code in your handbook.

Everything seems to work fine... apart from the movie does not load.

All I can see is the background shadow image, and if I right click over this image, i get "Movie not loaded".

Any pointers?

Andrew

dmoore44’s picture

I have the same issue as Helliquin - I swap out the code as Dan suggests, but the swf doesn't load. When I right click on the area where the swf banner should be, I get a "movie not loaded" message.

irene_’s picture

I have the same problem. I tried to use the code for embedding a .swf file in a block, in the content top area of the second page. When i right click on the are where the file should be I get a "movie not loaded" message. Any suggestions? Thanks!