Closed GoogleCodeExporter closed 9 years ago
does the example files work? ( http://swffit.millermedeiros.com/example.html )
swffit should work on IE6/IE7.. the problem should be on your HTML page..
the code that you've sent shouldn't change anything.. I don't know why they
changed
the minimum size if the browser is IE6..
I'm sure that swffit works on IE6...
Original comment by millerme...@gmail.com
on 9 Nov 2009 at 4:01
thanks for the reply
the example does work on IE6 and IE7. The difference between the htmls is that
my
swfobject is set to 100% width and height. which it needs to be...could this be
the
problem? strangely it works on IE5 :S
Original comment by hoveyda...@gmail.com
on 9 Nov 2009 at 4:32
if the example files work the problem should be inside your code.. are you sure
that
you're not calling startFit() or fit() after calling stopFit() ??
are you sure that you need swffit for your project?? are you sure that you need
to
call stopFit ??
good luck.
Original comment by millerme...@gmail.com
on 9 Nov 2009 at 4:43
hi thanks again
the only swffit code i have inside my flash is:
SWFFit.fit('content', stage.stageWidth, __minHeight );
where __minHeight is a variable for each separate section/page in the Flash, as
they
are different heights.
my html page is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>My Swf</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="js/swfobject/swfobject.js"></script>
<script type="text/javascript" src="js/swffit/swffit.js"></script>
<script type="text/javascript"
src="js/swfaddress/swfaddress.js?strict=false"></script>
<script type="text/javascript">
swfobject.embedSWF("myflash.swf", "content", "540", "400", "9.0.0",
"expressInstall.swf");
swffit.fit("content");
</script>
<style type="text/css">
/* hide from ie on mac \*/
html
{
height: 100%;
overflow:hidden;
}
#content
{
height: 100%;
padding:10px;
z-index: 2;
color: #333;
font-family: Helvetica, Arial, sans-serif;
}
/* end hide */
body
{
height: 100%;
margin: 0;
padding: 0;
background-color: #FFF;
}
</style>
</head>
<body>
<div id="content">
<h1>My Flash</h1>
<p>Alternative Text
</p>
<p>You will need to download the <a
href="http://www.adobe.com/go/getflashplayer">latest version of Flash
Player</a> to
view the site properly. Visit the <a
href="http://www.adobe.com/go/getflashplayer">Adode site</a> to download the
plugin.</p>
</div>
</body>
</html>
Original comment by hoveyda...@gmail.com
on 9 Nov 2009 at 5:17
change the order that you add the javascript files and see if it works..
the order should be:
1- swfobject.js
2- swfaddress.js
3- swffit.js
if it still doesn't work try editing the example files.
good luck!
Original comment by millerme...@gmail.com
on 9 Nov 2009 at 5:24
Have you checked your zoom level? If your window is zoomed it might make
swffit messed up.
Original comment by horvath.steve@gmail.com
on 20 Sep 2010 at 9:47
Original issue reported on code.google.com by
hoveyda...@gmail.com
on 9 Nov 2009 at 12:29