title: Add a Link Around an Embedded Flash File
body: <p>I want to make it so that when I click anywhere on the embedded Flash element, it takes me to a destination URL.</p>
  
  <p>Here is my current code, which does not produce the desired effect:</p>
  
  <pre><code>&lt;div class="contentdiv" style="margin:-72px 0 10px 0px; cursor:pointer;" onclick="location.href='http://example.com/';"&gt;
  
  &lt;object height="410" width="720"&gt;
  &lt;param name="movie" value="images/tri.swf"&gt;
  &lt;embed src="images/tri.swf" height="400" width="700"&gt; 
  &lt;/embed&gt;
  &lt;/object&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>Right now it is making the space behind the .swf file clickable for the link, but the Flash element is not clickable.</p>
  
  <p>If the right thing to do is to edit the .swf file somehow, please let me know that. I don't consider myself a Flash developer, but are there any resources on where to get started or how to do something this basic with an existing .swf file?</p>
  
  <p>Any suggestions are much appreciated!</p>