Page 1 of 1

Problems getting .swf flash banner to work

Posted: Fri Jan 09, 2009 8:19 am
by morten444
Hi
I am trying to get a flash banner to work on my website : www.itfixing.com
no luck so far

I found another post:
http://forum.cmsmadesimple.org/index.ph ... #msg119027

I have tried to follow this by uploading the function.object.php to my plugin folder

It then said i had to use the following code:
{object src='swf/homepage_banner.swf' height='200' width='900' class='flashplayer'}
{object src='swf/homepage_banner.swf' height='200' width='900' param='quality::high||bgcolor::#ffffff' alt='Download Flash Player'}
I am quite new to this and i was trying to find out where to write this code.
I found a stylesheet called "Layout: Left sidebar + 1 column". That is the one I use

Somewhere down the page i found the section where the old logo was written in.
This i now changed to reflect the code above:
}

div#header h1 a {
/* you can set your own image here */
/  background: #385C72 url(images/cms/itfixingheader1.jpg) no-repeat 0 12px;
/  display: block;
/  height: 80px;            /* adjust according your image size */
/  text-indent: -999em;  /* this hides the text */
/  text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */

{object src='images/cms/itfixingheader1.swf' height='200' width='900' class='flashplayer'}
{object src='images/cms/itfixingheader1.swf' height='200' width='900' param='quality::high||bgcolor::#ffffff' alt='Download Flash Player'}
}
I have removed the old code and written in the one suggested, but I am sure i do not do this right.

Any idea why its still not working

Kind Regards
Morten

Re: Problems getting .swf flash banner to work

Posted: Fri Jan 09, 2009 7:05 pm
by Dr.CSS
It didn't mention that code most times goes in the template where you want the flash to appear?...

You will want to take the call in the CSS for the header a image as it will try to be in the same place, and adjust the header height to the size of the flash...