Click to See Complete Forum and Search --> : Redim swf in firefox


tedeum
11-29-2006, 09:31 AM
Hello.

I have a problem :

I've made a flash file that i want to redim to the resolution of any client monitor, and i used this commands in the flash file :

fscommand("fullscreen", true);
fscommand("allowscale", false);

The problem is that it only works in IE6 and IE7, in firefox doesnt work.

Why doesnt work in Firefox?

_Aerospace_Eng_
11-29-2006, 09:40 AM
How are you opening this? Is it a projector file (.exe) or is a .swf file in a webpage?

tedeum
11-29-2006, 10:02 AM
in a web page

_Aerospace_Eng_
11-29-2006, 10:19 AM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
html, body {
margin:0;
padding:0;
border:0;
height:100%;
background:#000; /*this is the hex color of your flash movie*/
}
</style>
</head>

<body>
<object type="application/x-shockwave-flash" data="flash.swf" width="100%" height="100%">
<param name="movie" value="flash.swf">
<param name="scale" value="exactfit">
</object>
</body>
</html>

gkornbluth
05-26-2008, 10:28 AM
Aerospace Eng,
I was happy to find your post because I've been having the same kind of issues with displaying a full screen swf in FF.

I followed your example and only replaced the name and location of the swf file. It seems to work as expected in IE (7) but not in FF (2.0) (only the bg shows but no swf)

the URL is: www.jkwebdesigns.com/apbc/test526.html

Hope you can find the time to shed some light on this.

Thanks

Jerry Kornbluth