Groups > Multimedia > Macromedia Open SWF discussion > Importing SWF files w/ CSS




Importing SWF files w/ CSS

Importing SWF files w/ CSS
Fri, 9 May 2008 03:23:11 +0000
I'm trying to get an SWF file to display via CSS. The web programmers that 
designed this page got it to work, but when I try to create a new page, I 
cannot get it to display correctly. 

 Here is the CSS code they used for the flash:

 #home-flash {
 	display:block;
 	float:left;
 	height:350px;
 	width:747px;
 	overflow:hidden;
 	background:url("/cms/renderfile/eastern/files/images/home-flash.jpg"
) 0px 0px 
no-repeat;
 	z-index:200;
 }

 and in the HTML they just added <div id=home-flash></div>

 See this link to view Flash: 
http://daniel.eastern.edu/cms/eastern2/index.html

 When I create a new page and enter the values <div
id=home-flash></div> in the 
html, the SWF does not display. It only pulls the jpg from the CSS file. Am I 
missing something?

 My ultimate goal is to get another SWF to display correctly, but I'm running 
into 2 problems when I import it, not using the CSS 1) It doesn't display in IE

2) the submenus on the left are covered by the SWF file.

 Here is a link to the non-CSS-imported version: 
http://daniel.eastern.edu/cms/redesign/testimonials/undergraduate_testimonials.h

tml

 Any help would be greatly appreciated. 


Post Reply
about | contact