0 Replies Latest reply on May 20, 2006 8:36 PM by doctor4eyes

    Simple button AS help

    doctor4eyes
      I'm learning Action Script. I adapted the graphics from premade Flash script from Flashkit.com. I'm trying to write the script to made the buttons active and get a URL. It uses a rotating graphic with six buttons positioned like on the spokes of a ferris wheel. The buttons are recognized (cursor chages to a "hand" icon on rollover but something is wrong with the Action script. It is written as:
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      startDrag("dragControl", true);
      stop();

      contact_btn.onRelease = function () {
      getURL(" http://www.anypage.com", "_blank");
      };
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      where "contact_btn " is the name of one of the six buttons .
      Anything obviously wrong?
      thanks so much in advance, Jim