3 Replies Latest reply on Aug 27, 2010 7:41 AM by Ned Murphy

    Trouble applying ClickTAG code

    kirrwed Level 1

      I was told my click through URL is embedded in my file.  The vendor to whom I'm sending my flash file is using something called "Dart" apparently.  Currently, my code to make my button link to a webpage is on its own layer and looks like this:


      myButton.addEventListener(MouseEvent.CLICK, myButtonFunction);

      function myButtonFunction(event: MouseEvent) {

      var request:URLRequest = new URLRequest("http://www.oldsecond.com");




      But the vendor told me the following:


      The button should include the click variable with the following clickTAG implemented correctly.  Please note that clickTAG is case sensitive.  It should look exactly like this:


      on (release) {

          getURL (clickTAG, "_blank");



      But when I click on my button, I get the dreaded "Current selection cannot have actions applied to it."


      How can I fix?