ripnoel
asked on
Flash not scaling inside a table cell in FireFox and not not showing up at all in IE. Works outside table!
Greetings;
I have authored a Flash movie and it is working fine. When I use the html page output by Flash it scales fine but when I cut and paste this code into a table cell the movie will not scale (in Firefox) and not showup at all in IE 7.
Help appreciated. Here is the html page output by Flash:
http://www.howardbakerphotography.com/gallery/bakerGallery.html (Scaling fine)
Here is the content placed inside a simple table cell:
http://www.howardbakerphotography.com/gallery/index3.php (Only shows up small not scaling)
Help appreciated.
Rip
I have authored a Flash movie and it is working fine. When I use the html page output by Flash it scales fine but when I cut and paste this code into a table cell the movie will not scale (in Firefox) and not showup at all in IE 7.
Help appreciated. Here is the html page output by Flash:
http://www.howardbakerphotography.com/gallery/bakerGallery.html (Scaling fine)
Here is the content placed inside a simple table cell:
http://www.howardbakerphotography.com/gallery/index3.php (Only shows up small not scaling)
Help appreciated.
Rip
ASKER
Hi and thanks for trying to help! If you will look a bit closer you will see that the "<td width="20">" is in the table cell just BEFORE the cell with the Flash content. It's cell is set to "<td align="center">" with no size. BTW, I did point out in my original post this is not showing up at all in IE ...
Thoughts appreciated!
code below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script language="javascript">AC_F L_RunConte nt = 0;</script>
<script src="../Scripts/AC_RunActi veContent. js" type="text/javascript"></s cript>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img src="../images/html/mnCnt/ spacer.gif " width="1" height="800" /></td>
<td align="center">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '100%',
'height', '100%',
'src', 'bakerGallery',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'bakerGallery',
'bgcolor', '#46454b',
'name', 'bakerGallery',
'menu', 'true',
'allowFullScreen', 'true',
'allowScriptAccess','sameD omain',
'movie', 'bakerGallery',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae 6d-11cf-96 b8-4445535 40000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%" id="bakerGallery" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="true" />
<param name="movie" value="bakerGallery.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#46454b" /> <embed src="bakerGallery.swf" quality="high" bgcolor="#46454b" width="100%" height="100%" name="bakerGallery" align="middle" allowScriptAccess="sameDom ain" allowFullScreen="true" type="application/x-shockw ave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
</td>
<td width="20"> </td>
</tr>
</table>
</body>
</html>
Thoughts appreciated!
code below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script language="javascript">AC_F
<script src="../Scripts/AC_RunActi
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"><img src="../images/html/mnCnt/
<td align="center">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '100%',
'height', '100%',
'src', 'bakerGallery',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'bakerGallery',
'bgcolor', '#46454b',
'name', 'bakerGallery',
'menu', 'true',
'allowFullScreen', 'true',
'allowScriptAccess','sameD
'movie', 'bakerGallery',
'salign', ''
); //end AC code
}
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="true" />
<param name="movie" value="bakerGallery.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#46454b" /> <embed src="bakerGallery.swf" quality="high" bgcolor="#46454b" width="100%" height="100%" name="bakerGallery" align="middle" allowScriptAccess="sameDom
</object>
</noscript>
</td>
<td width="20"> </td>
</tr>
</table>
</body>
</html>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It was late when I responded to your initial post, I did mean to say that I didn't have FF installed on that machine but was confirming that it didn't show up in IE...lol
rather than put the SWF in a table to center it, put it in a <div align="center"> tag. I think that the table is what is causing your issue.
c
rather than put the SWF in a table to center it, put it in a <div align="center"> tag. I think that the table is what is causing your issue.
c
was replying when you made your post, glad to see you got it sorted... I would have not even looked at the header.
Ugh, I need more coffee :)
Ugh, I need more coffee :)
you have "<td width="20">" in the HTML, that might be limiting it. I didn't see anything when I viewed the second link in IE7.