Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I had this same problem recently, I had set the height and width to 100% and firefox would not display IE9 would squish the swf to the top of the page height:100px or something. I fixed it with JavaScript, actually jQuery (simply because it was available):</p> <p>Essentially FF doesn't like % values when you size things, and IE9 has a different problem. If you added static values you wouldn't have a problem. But we don't want static values do we?</p> <p>Anyways, I solved my issue by telling the JavaScript to write the Flash tag for me and insert static values based on the screen size.</p> <pre><code>&lt;script type="text/javascript"&gt; document.write('&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="' + $(window).width() + '" height="' + Math.round(($(window).width()*11)/24) + '" id="YourMovieID" align="middle"&gt; &lt;param name="movie" value="YourMovie.swf"/&gt; &lt;param name="wmode" value="opaque" /&gt; &lt;param name="scale" value="exactfit" /&gt; &lt;!--[if !IE]&gt;--&gt; &lt;object type="application/x-shockwave-flash" data="YourMovie.swf" width="' + $(window).width() + '" height="' + Math.round(($(window).width()*11)/24) + '" &gt; &lt;param name="movie" value="YourMovie.swf"/&gt; &lt;param name="wmode" value="opaque" /&gt; &lt;param name="scale" value="exactfit" /&gt; &lt;!--&lt;![endif]--&gt; &lt;!--[if !IE]&gt;--&gt;&lt;/object&gt; &lt;!--&lt;![endif]--&gt; &lt;/object&gt;') &lt;/script&gt; </code></pre> <p>I used <code>$(window).width()</code> to get the width of the screen and then <code>Math.round(($(window).width()*11)/24)</code> because the proportions of my movie were 24X11.</p> <p>Again this was my jQ solution because it was available, you could use screen.width to get it. You might have to condense everything to one line though I just spaced it so you could see what's going on.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload