|
Posted by Mitch on March 1, 2005, 7:13 pm
Please log in for more thread options
i would like to display a swf that takes up the entire browser.
netscape and firefox display the following code as i intend, but
internet explorer does not.
could i get some help?
<HTML>
<HEAD>
<TITLE>index</TITLE>
<link href="itc.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" rightmargin="0" topmargin="0"
bottommargin="0" marginheight="0" marginwidth="0">
<table height="100%" width="100%" border="1" cellpadding="0"
cellspacing="0">
<tr valign="top"><td width="100%">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="100%" HEIGHT="100%" scale="exactfit" id="index" ALIGN="">
<PARAM NAME=movie VALUE="index.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="index.swf" quality=high SCALE="exactfit" bgcolor=#FFFFFF
WIDTH="100%" HEIGHT="100%" NAME="index" ALIGN=""
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT>
</td></tr>
</table>
</BODY>
</HTML>
|
|
Posted by Brian on March 2, 2005, 10:01 pm
Please log in for more thread options
Mitch wrote:
> i would like to display a swf that takes up the entire browser.
> netscape and firefox display the following code as i intend, but
> internet explorer does not.
>
> could i get some help?
Yes. From a validator.
http://validator.w3.org/
After validating your code, if you still need help, post a url (not code
in a message).
P.S. You might want to have your <shift> key fixed, too.
--
Brian
|
|
Posted by s_m_b on March 3, 2005, 6:40 am
Please log in for more thread options
> i would like to display a swf that takes up the entire browser.
> netscape and firefox display the following code as i intend, but
> internet explorer does not.
>
do you want to clarify that a bit? Like how IE is displaying it?
> could i get some help?
>
> <HTML>
> <HEAD>
> <TITLE>index</TITLE>
> <link href="itc.css" rel="stylesheet" type="text/css">
> </head>
>
> <body bgcolor="#FFFFFF" leftmargin="0" rightmargin="0" topmargin="0"
> bottommargin="0" marginheight="0" marginwidth="0">
> <table height="100%" width="100%" border="1" cellpadding="0"
> cellspacing="0">
> <tr valign="top"><td width="100%">
> <OBJECT
> classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swfla > sh.cab#version=6,0,0,0" WIDTH="100%" HEIGHT="100%" scale="exactfit"
> id="index" ALIGN="">
> <PARAM NAME=movie VALUE="index.swf">
> <PARAM NAME=quality VALUE=high>
> <PARAM NAME=bgcolor VALUE=#FFFFFF>
> <EMBED src="index.swf" quality=high SCALE="exactfit"
> bgcolor=#FFFFFF
> WIDTH="100%" HEIGHT="100%" NAME="index" ALIGN=""
> TYPE="application/x-shockwave-flash"
> PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> > </OBJECT>
> </td></tr>
> </table>
> </BODY>
> </HTML>
>
Be aware that FF is generally better behaved with stuff, and as you don't
need to wrap the swf inside a table to start with, simplying the code
would be a good start.
|
|
Posted by me on March 3, 2005, 9:15 am
Please log in for more thread options
> i would like to display a swf that takes up the entire browser.
> netscape and firefox display the following code as i intend, but
> internet explorer does not.
> could i get some help?
Look at the following code. Note the original size of the swf in this
example is 780x221 but by setting the height and width to 100% in the embed
tag the swf will be stretched to fill both the entire height and width of
the browser window. This works for IE but since I only use IE I have no idea
how it will work in other browsers. Note also that some degradation may
occur if the swf is stretched or shrunk from it's actual size.
Good Luck,
me
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca b#version=6,0,0,0" width="780" height="221">
<param name=movie value="yourflashfile.swf">
<param name=quality value=high>
<embed src="yourflashfile.swf" quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_ Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%"
height="100%">
</embed>
</object>
|
| Similar Threads | Posted | |   works in internet explorer but problem using in firefox 1.0.4 | August 14, 2006, 11:17 am |
| Internet Explorer Bug? | May 22, 2006, 6:05 pm |
| css & internet explorer | January 10, 2008, 4:55 am |
| Box Model in Internet Explorer 7.0 | May 16, 2005, 10:22 am |
| subscripts on Internet Explorer | March 7, 2005, 9:25 am |
| “ and Internet Explorer (6) | October 29, 2008, 9:28 am |
| Button Element and Internet Explorer 6.0 | August 3, 2004, 8:24 am |
| internet explorer makes gabs | September 1, 2005, 1:39 am |
| svg in Internet Explorer with adobe plugin | June 5, 2008, 10:39 am |
| Dimensions of embedded video in Internet Explorer? | January 31, 2006, 2:56 pm |
|