2 Replies Latest reply on Oct 25, 2006 7:49 AM by yarkehsiow

    syntax question

    yarkehsiow Level 1
      hello,
      i have the following:

      button1.onRelease = function():Void {
      trace("yo");
      }

      my question: i want button2 to do the same thing... i know i could just copy the above and substitue button2 for button1, but is it possible to include BOTH button1 and button2 in the same onRelease statement?
      Thank You