Jump to content

Embedding a swf file???


Terri

Recommended Posts

I dont want to embed a flash file into a gif. I want to remove the gif and replace it with a flash file but I dont know how to write the code actually to do this...

 

This is what I am seeing now:

 

#header_logo {

font-family: arial, verdana;

color: #ffffff;

font-size: 30px;

font-weight:bold;

        padding:0px;

        margin:0px;

        background-image: url(../images/header_03a.gif);

        height:130px;

line-height:130px;

        text-align:center;

        vertical-align:bottom}

 

That is the code in the css but I want it to have a flash file as a header, not the gif...

Link to comment
https://forums.phpfreaks.com/topic/40188-embedding-a-swf-file/#findComment-194442
Share on other sites

I dont know if I am misunderstanding you or if you are misunderstanding me... I have a gif (a regular picture) that I am using as a header for my website.

 

Instead of the gif (a regular picture), I would like to have a flash header (same exact size of the gif). Now my site is all php and my header (gif) is located in a css file and is called in.

 

I have this piece of code in my css file: background-image: url(../images/header_03a.gif);

That is my header....

 

I would like for it to say: background-image: url(../images/header.swf);

But that doesnt work...

 

How would I fix it to where the swf will work???

Link to comment
https://forums.phpfreaks.com/topic/40188-embedding-a-swf-file/#findComment-194480
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.