I hate to be such a dunce - I've read the responses to others that have had this problem, but I still can't get it to work. I want to add an onclick event to a Flash button provided by Dreamweaver. Here is the code:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','105','height','33','title','Add to Cart','src','addCart','qua
lity','hig
h','plugin
spage','
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','addCart'); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE
6D-11cf-96
B8-4445535
40000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="105" height="33" title="Add to Cart">
<param name="BGCOLOR" value="" />
<param name="movie" value="addCart.swf" />
<param name="quality" value="high" />
<embed src="addCart.swf" quality="high" pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockw
ave-flash"
width="105" height="33" ></embed>
</object>
</noscript>
Where does the Onrelease and GetURL code go? Can I also include return false;?
Start Free Trial