Help - Search - Members - Calendar
Full Version: firefox flash display issue
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
johnm
Hi

I have an html page with a full screen flash movie. It displays fine in IE6 but in Firefox the height distorts so that it only occupies the top quarter of the screen.

If I remove the following from the code then it displays fine but I get told by an online validator that my document is not valid code.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

I haven't really got to grips with advanced html . Any tips please?

jimlongo
You need to either show us your html or the URL of the document
johnm
it is www.mad4maths.com/TEST9.html . thanks
jimlongo
Try replacing the part before the <head> tag with this
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">


Then change this
CODE
    <embed src="home.swf" width="100%" height="100%" align="middle" quality="high" bgcolor="#799BFE"  allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="noborder" />  


to this
CODE
    <embed src="home.swf" width="100%" height="100%" align="middle" quality="high" bgcolor="#799BFE"  allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="noborder"></embed>  


See if that works any better.
johnm
Unfortunately not. The second bit of code that you suggested replacing had been commented by me as it is redundant.
see www.mad4maths.com/TEST12.html

john
jimlongo
It is not redundant.

No matter what the W3C says, it is rendered better than object in some browsers. In fact it is rendered in all browsers. The only reason you need an object tag is so Explorer can get the right plug-in if it's not already installed.

So suit yourself, but I'd still suggest trying it.

johnm
i have tried it to no avail.
but thanks for your comments
john
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.