7 Replies Latest reply on Dec 6, 2006 12:18 PM by vinnio

    _x & _y

    vinnio Level 1
      Can anybody tell me how I can set the buttons below each other when 5 buttons are placed? and can you give me a example?ready thanks!

      function LoadButtons() {
      buttonsArray = new Array();
      for (i=1; i<16; i++) {
      duplicateMovieClip(buttons, "button"+i, i);
      buttonsArray = _root["button"+i];
      // Button Position
      buttonsArray
      ._x = -30+i*42;
      buttonsArray ._y = 400;
      buttonsArray
      .ButtonNumber = i;
      }
      };