By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,082 Members | 2,135 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,082 IT Pros & Developers. It's quick & easy.

internet explorer vs firefox vs netscape

P: n/a
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>

Jul 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
Jul 23 '05 #2

P: n/a
"Mitch" <mh********@adelphia.net> wrote in
news:11**********************@f14g2000cwb.googlegr oups.com:
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.
Jul 23 '05 #3

P: n/a
me
"Mitch" <mh********@adelphia.net> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
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>
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.