Page 1 of 1

Help with flash header!

Posted: Fri Mar 31, 2006 3:59 pm
by duplay
Does nayone know how to add flash for a header. I assumed i could just upload the flash and replace the image header name with the name of my flash in the template, but that did not work. anyone doing this?

Re: Help with flash header!

Posted: Fri Mar 31, 2006 8:53 pm
by fardeen
Edit your template :




PUT HERE THE CODE OF YOUR FLASH (...)


Re: Help with flash header!

Posted: Fri Mar 31, 2006 9:02 pm
by duplay
dont you mean edit the sytlesheet where it has the logo? I didnt see a part on the actual template that had a header.

Re: Help with flash header!

Posted: Fri Mar 31, 2006 9:04 pm
by duplay
This is the spot i was messing with in the stylesheet. I uploaded the swf and replaced the logo.gif with it.

  /* HEADER */
        div#header {
            margin: 0;
            padding: 0;
            height: 80px;
            background: #d1c3a3;         
            text-align: left;
        }
        div#header h1 a {
            background:  url(uploads/images/) no-repeat 0 12px;
            display: block;
            height: 80px;
            text-indent: -700em;
            width: 198px;
            margin: 0;
            padding: 0;

Re: Help with flash header!

Posted: Fri Mar 31, 2006 9:09 pm
by duplay
Also, you say put the code of flash here? I am uploading my .swf header to the images folder and just replacing the path to the old icon from cms with the path to my flash .swf file. is this correct
?

Re: Help with flash header!

Posted: Sun Apr 02, 2006 12:57 pm
by mustis
Hi
I think you have to do this in the template, not the css.... not sure.

Re: Help with flash header!

Posted: Mon Apr 03, 2006 1:06 am
by Dr.CSS
found this on someones very nice site! fardeen (a member) http://fardeen.info/westbrome//index.php?page=43
     
     

     
     
yes i believe it is in the template,, notice you have to call the flash player. i've done it before as a test but forgot how i think i just copied some thing like this and mod. it for my .swf,, hieght,, width,, etc.

Re: Help with flash header!

Posted: Tue Apr 04, 2006 6:16 pm
by duplay
I get the above code, however, dont i need to place my flash up on the surver? How do i do that and tell the code above the path?

Re: Help with flash header!

Posted: Tue Apr 04, 2006 6:49 pm
by Dr.CSS
duplay wrote: Also, you say put the code of flash here? I am uploading my .swf header to the images folder and just replacing the path to the old icon from cms with the path to my flash .swf file. is this correct
?
value="header_westbrome.swf
try replacing this with yours, it looks like he put his in the root of his site so you might have to change the path,,value="uploads/images/???.swf, and change any width and height sizes to the size of your flash or the size you want it to be, you will have to play with the sizes to get what you want.

HTH
        mark