Jump to content

href and flash object


dsp77

Recommended Posts

i'm trying to place the href over the object because i need to call a javascript event. the html works in firefox but not in others

#letter {
position:relative;
top: -15px;
left: 0px;
width:250px;
height:175px;
float:left;
}
#letter a {
width:250px;
height:175px;
display:block;
cursor:pointer;
}
<div id="letter"><a href="#" title="click">
		<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="250" height="175" id="plic" align="middle">
			<param name="movie" value="media/plic.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#ffffff" />
			<param name="play" value="true" />
			<param name="loop" value="true" />
			<param name="wmode" value="transparent" />
			<param name="scale" value="showall" />
			<param name="menu" value="true" />
			<param name="devicefont" value="false" />
			<param name="salign" value="" />
			<param name="allowScriptAccess" value="sameDomain" />
			<!--[if !IE]>-->
			<object type="application/x-shockwave-flash" data="media/plic.swf" width="250" height="175">
				<param name="movie" value="plic.swf" />
				<param name="quality" value="high" />
				<param name="bgcolor" value="#ffffff" />
				<param name="play" value="true" />
				<param name="loop" value="true" />
				<param name="wmode" value="transparent" />
				<param name="scale" value="showall" />
				<param name="menu" value="true" />
				<param name="devicefont" value="false" />
				<param name="salign" value="" />
				<param name="allowScriptAccess" value="sameDomain" />
			<!--<![endif]-->
				<a href="http://www.adobe.com/go/getflash">
					<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
				</a>
			<!--[if !IE]>-->
			</object>
			<!--<![endif]-->
		</object>
		</a>
</div>

any advise?

Link to comment
https://forums.phpfreaks.com/topic/248477-href-and-flash-object/
Share on other sites

i made a tweak on the object element and it works, the problem now is how to make the pointer to show that there is a link there. I made in flash a hand cursor but it persists after i move the mouse out of the flash. i uploaded the fla file.

 

[attachment deleted by admin]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.