Advertisement

12.29.2007 at 11:37AM PST, ID: 23049088
[x]
Attachment Details

Add ONCLICK to Flash Button

Asked by slegy in Macromedia Dreamweaver, JavaScript, Miscellaneous Web Development

Tags: flash, button, onclick

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','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','addCart'); //end AC code
      </script>
      <noscript>
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 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-shockwave-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
[+][-]12.30.2007 at 04:31AM PST, ID: 20550585

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.30.2007 at 04:36AM PST, ID: 20550601

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.30.2007 at 11:59AM PST, ID: 20551931

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.30.2007 at 02:55PM PST, ID: 20552396

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.31.2007 at 12:06PM PST, ID: 20557100

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Macromedia Dreamweaver, JavaScript, Miscellaneous Web Development
Tags: flash, button, onclick
Sign Up Now!
Solution Provided By: slegy
Participating Experts: 2
Solution Grade: B
 
 
[+][-]12.31.2007 at 04:15PM PST, ID: 20557992

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628