title: Change flash embed size with javascript or html?
body: <p>I am trying to scale this video to 640x360. When I change the width and height, the video doesn't get bigger. I tried adding the parameters scale="aspect", scale="exactfit", scale="default". None of them worked.</p>
  
  <p>Is there any way to scale this to 640x360?</p>
  
  <p><strong>Embed Code:</strong></p>
  
  <pre><code>&lt;object width="416" height="374" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"&gt;
  &lt;param name="allowscriptaccess" value="always" /&gt;
  &lt;param name="movie" value="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_416x234_embed.swf?context=embed&amp;videoId=us/2011/10/28/dnt-mom-learns-death-thru-facebook.wsyr" /&gt;
  &lt;embed src="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_416x234_embed.swf?context=embed&amp;videoId=us/2011/10/28/dnt-mom-learns-death-thru-facebook.wsyr" type="application/x-shockwave-flash" allowscriptaccess="always" width="416" height="374"&gt;
  &lt;/embed&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p><strong>This didn't work either:</strong></p>
  
  <pre><code>&lt;script type="text/javascript" src="http://code.jquery.com/jquery.min.js"&gt;&lt;/script&gt;
  &lt;object width="416" height="374" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"&gt;
  &lt;param name="allowscriptaccess" value="always" /&gt;
  &lt;param name="movie" value="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_416x234_embed.swf?context=embed&amp;videoId=us/2011/10/28/dnt-mom-learns-death-thru-facebook.wsyr" /&gt;
  &lt;embed src="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_416x234_embed.swf?context=embed&amp;videoId=us/2011/10/28/dnt-mom-learns-death-thru-facebook.wsyr" type="application/x-shockwave-flash" allowscriptaccess="always" width="416" height="374"&gt;
  &lt;/embed&gt;
  &lt;/object&gt;
  
  &lt;script&gt;
  function testcode () {
      $('object').attr('width','640');
      $('object').attr('height','500');
  
      $('object embed').attr('width','640');
      $('object embed').attr('height','500');
  }
  
  &lt;/script&gt;
  
  &lt;br&gt;
  &lt;a href="#" onclick="testcode()"&gt;click to test&lt;/a&gt;
  </code></pre>
  
  <p><strong>This displays as:</strong> </p>
  
  <p><img src="https://i.stack.imgur.com/jSlOg.png" alt="enter image description here"></p>