1 Reply Latest reply on Aug 22, 2008 9:26 AM by robdillon

    Scripting

    Adsero
      I have the following attached to a button, but every time I click on the animated button link, it opens an
      'output' tab that reads 'clicked'. I'm not well-versed with scripting.

      (Adobe.com used for example only) I get no syntax errors. What might I be doing wrong?
        • 1. Re: Scripting
          robdillon Most Valuable Participant
          That output window is showing you the result of your trace function. That's what trace does, it takes whatever you give it and puts the result into the output window.

          I'm guessing that you want to open a new url from that button action. If that's the case then you want to use the Actionscript function getURL(). So the correct code would look like this:

          on(release) {
          getURL(" http://www.adobe.com");
          }