Displaying Flash within an <a></a> tag

I want to include a small swf file within an href link on my site and have the link activated when the user clicks on the swf as well as on additional text. However, just putting the OBJECT and EMBED tags as generated from Flash with the <a> tag doesn’t work.

I know some folks would say, well just put an action in the SWF to handle the click event and then navigate to your URL, but the URL will be dynamic based on the generated ASP page. Any ideas? Here’s my HTML code:

<a target='candlcart' href='doorcart.asp?action=add&doorid=1&glassid=2'>
<<Add door to cart

<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="50" HEIGHT="50" id="AddToCart" ALIGN="">
<PARAM NAME=movie VALUE="AddToCart.swf"> <PARAM NAME=quality VALUE=high>
<PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE="#FFFFFF">

<EMBED src="AddToCart.swf" quality=high bgcolor="#FFFFFF"
WIDTH="50" HEIGHT="50" NAME="AddToCart" ALIGN=""
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"
</EMBED>

</OBJECT>

</a>

dammit … just put the whole path in the “a” tag

Not sure what you mean by putting the whole path in the <a> tag? Do you mean putting all the OBJECT stuff actually in the href attribute of <a>? Can’t see how that could work. Could you post an example of what you mean? Use the PHP tags in the post to include code.

Thanks,
Phil

i mean put the whole path for the ASP or PHP between the “a” tag … i remember i had this one and it worked fine, with PHP, CGI, BIN and ASP … i am sorry i dont have the link anymore.

put "http://www. … all path for the ASP