<p>Is it possible to use a flash document embedded in HTML as a link?</p>

<p>I tried just wrapping the <code>object</code> element with an <code>a</code> like this:</p>

<pre><code>&lt;a href="http://whatever.com"&gt;
    &lt;object ...&gt;
        &lt;embed ... /&gt;
    &lt;/object&gt;
&lt;/a&gt;
</code></pre>

<p>In Internet Explorer, that made it show the location in the status bar like a link, but it doesn't do anything.</p>

<p>I just have the .swf file, so I can't add a click handler in ActionScript.</p>

Though the object really should respond to being wrapped in an a href tag, you could open the swf in vim and just throw in an
```
_root.onPress=function(){getURL("http://yes.no/");};
```
or if it's AS3, something like
```
_root.addEventHandler(MouseEvent.PRESS, function (e:event) {getURL("http://yes.no/");});
```
But if editing the swf is your route, you'd likely have more success with
a tool for the purpose
.