<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>

[{'answer_id': 33519, 'author': 'dlamblin', 'author_id': 459, 'author_profile': 'https://Stackoverflow.com/users/459', 'pm_score': 2, 'selected': True, 'text': '<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 <code>_root.onPress=function(){getURL("http://yes.no/");};</code> or if it\'s AS3, something like <code>_root.addEventHandler(MouseEvent.PRESS, function (e:event) {getURL("http://yes.no/");});</code> But if editing the swf is your route, you\'d likely have more success with <a href="http://www.buraks.com/uae/1.html" rel="nofollow noreferrer">a tool for the purpose</a>.</p>\n'}, {'answer_id': 36141, 'author': 'Tim', 'author_id': 1970, 'author_profile': 'https://Stackoverflow.com/users/1970', 'pm_score': 0, 'selected': False, 'text': '<p>As an addition to dlamblin\'s answer it is often best to use the clickTAG technique to open URLS from a flash movie.</p>\n\n<p>More information can be found here:</p>\n\n<p><a href="http://www.adobe.com/resources/richmedia/tracking/designers_guide/" rel="nofollow noreferrer">http://www.adobe.com/resources/richmedia/tracking/designers_guide/</a></p>\n\n<p>The advantage of using the clickTAG technique is that you can set the URL to jump to in the HTML page.</p>\n\n<p>This means that you can set the flash movie to link to different places without modifying  the flash file (beyond adding the initial clickTAG code). You can use link tracking on the URL as well.</p>\n'}, {'answer_id': 2945945, 'author': 's0natagrl', 'author_id': 354886, 'author_profile': 'https://Stackoverflow.com/users/354886', 'pm_score': 1, 'selected': False, 'text': '<blockquote>\n  <p>You could use Javascript to add a\n  handler (added inline for brevity):</p>\n\n<pre><code>&lt;object onclick="window.location=\'URLHERE\'; return false;"&gt;\n</code></pre>\n  \n  <p>That should work, methinks.</p>\n</blockquote>\n\n<p>This worked for me but the litle hand for clicking stuff doesn´t appear. The link works though</p>\n'}, {'answer_id': 6732973, 'author': 'Lukas', 'author_id': 709556, 'author_profile': 'https://Stackoverflow.com/users/709556', 'pm_score': 2, 'selected': False, 'text': '<p>You can use transparent div with same height and width over that object.\nAnd let javascript open your url on click action on that div.</p>\n'}]
['https://Stackoverflow.com/questions/33459', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2214/']