Link to home
Start Free TrialLog in
Avatar of ripnoel
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

Avatar of cwickens
cwickens
Flag of United States of America image

what are the size limits on the table/cell you are putting it in?  can you post the php code for index3.php?

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.
Avatar of ripnoel
ripnoel

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_FL_RunContent = 0;</script>
<script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</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','sameDomain',
                  'movie', 'bakerGallery',
                  'salign', ''
                  ); //end AC code
      }
</script>
<noscript>
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
      </object>
</noscript>
    </td>
    <td width="20">&nbsp;</td>
  </tr>
</table>
</body>
</html>
ASKER CERTIFIED SOLUTION
Avatar of ripnoel
ripnoel

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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  :)