title: How do I set a flash object to open a url in a new window?
body: <p>I have this code: </p>
  
  <pre><code>&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="300" height="250"&gt;
    &lt;param name="movie" value="Spotify_premium_300x250.swf" /&gt;
    &lt;param name="quality" value="high" /&gt;
    &lt;embed src="Spotify_premium_300x250.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="300" height="250"&gt;&lt;/embed&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p><strong>EDIT: Code from Tom</strong></p>
  
  <pre><code>&lt;object onclick="javascript: window.open('http://www.stackoverflow.com', _blank, 'width=1024, height=600, menubar=no, resizable=yes');" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="300" height="250"&gt;
    &lt;param name="movie" value="Spotify_premium_300x250.swf" /&gt;
    &lt;param name="quality" value="high" /&gt;
    &lt;embed src="Spotify_premium_300x250.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="300" height="250"&gt;&lt;/embed&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p>I would like it as when a user clicks the flash object, it's opens a URL in a new window. How would I go about doing this?</p>
  
  <p>Cheers,
  Keith</p>