How do you use a flash object as a link?

Posted by Matthew Crumley on Stack Overflow See other posts from Stack Overflow or by Matthew Crumley
Published on 2008-08-28T21:37:13Z Indexed on 2010/05/31 21:03 UTC
Read the original article Hit count: 187

Filed under:
|

Is it possible to use a flash document embedded in HTML as a link?

I tried just wrapping the object element with an a like this:

<a href="http://whatever.com">
    <object ...>
        <embed ... />
    </object>
</a>

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

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

© Stack Overflow or respective owner

Related posts about html

Related posts about flash