<a> on a flash <object> fixing it

Hi,

I’ve got a swf-file (not the fla) and I want to create a link, but can’t get it working. Could anybody help me with this? (Is it even possible?)


<a href="link.html" title="link">
<!--[if !IE]> -->
    <object type="application/x-shockwave-flash" data="3.swf" width="117" height="117">    
    <!-- <![endif]-->
    <!--[if IE]>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="117" height="117">
        <param name="movie" value="3.swf" />
        <!--><!--dgx-->
        <param name="loop" value="true" />
        <param name="menu" value="false" />
        <p></p>
    </object></a>
    <!-- <![endif]-->

Thanks

3Pinter

I genuinely do not know if you can wrap <object> with <a> tags…

optimally you would make a big transparent button in flash and do it… but if you gots no access to the fla then… i think you’re out of luck

Use the onclick event:


<object onclick="javascript:window.open('yourlink.html');" ...>

May give you some issues in IE though. Don’t know!

■■■■ thee internets!