-
Always Twirling Toward Freedom
Make the swf clickable
Hey folks, anyone know if it's possible to make and swf file clickable, not just the content in it. Like putting the swf file in a href link (which doesn't actually work). I know I can just make an invisible box in the flash document with the link, but that doesn't quite cut it for what I'm trying to do.
-
U can just do that by adding a button first to the page of the same size as of ur swf size and then make the embed tag transparent.
EG:
<button onClick="window.location='Your_Page_To_Link.html'" style="background-color:transparent;border:0px;width:1200px;height:1 200px;">
<object width="1200" height="1200" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
type="application/x-shockwave-flash" vspace="0" hspace="0">
<PARAM name="movie" value="./swf/S11.swf"></PARAM>
<!-- This is for making the embedded swf file transparent. -->
<PARAM name="wmode" value="transparent"></PARAM>
<embed id="test" src="./swf/S11.swf" frameborder="0" width="1200" height="1200" TYPE="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" wmode="transparent"></embed>
</object>
</button>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|