Flash Banner

From Joomla! Documentation

I saw many people having problems using Flash on Banners. You could just upload your SWF file to images/banner, but many problems as not looping, not redirect, etc, so I found a simple code. You can start uploading your Flash files anywhere you want. Log in to your admin, go to Banner component and create or edit. Make all the same things, but instead of using Banner Image Selector, you will use Custom Banner Code.

You will put HTML code in there.


  <p><a href="http://www.YOURDOMAIN.com/" target="_blank">
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="468" height="60" align="center">
      <PARAM name="movie" value="http://www.DOMAIN.com/FLASH.swf">
      <PARAM name="quality" value="high">
      <PARAM name="allowScriptAccess" value="always">
      <param name="wmode" value="transparent">
      <EMBED src="http://www.DOMAIN.com/FLASH.swf" width="468" height="60" align="middle" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always" wmode="transparent">      </EMBED>

Let`s explain:

<left>: code will show on the left, you can change to right, center.

www.DOMAIN.com/FLASH.swf: has to be changed for your flash file link.

<a href="http://www.YOURDOMAIN.com/" target="_blank">: You can change for the link you want to open when clicked. Target is blank, means it will open a new page.