Reputation: 116
I used
<object type="application/x-shockwave-flash" onmouseup="document.location='http://www.pageopensafterclick.com'" height=50 width=150>
<param name="wmode" value="transparent" />
<param name="movie" value="myswffile.swf" />
</object>
to embed my swf file and link it to another page, but it is only working in Chrome, I.E., opera but not in Firefox. Can someone please tell me a code which works in all the browsers. I would be so thankful.
Upvotes: 0
Views: 15275
Reputation: 6092
<div onmousedown="window.location.href='new_location'">
<object>
<param name="movie" value="3.swf">
<param name="wmode" value="transparent" />
<embed wmode=transparent allowfullscreen="true" allowscriptaccess="always" src="3.swf"></embed>
</object>
</div>
Upvotes: 2