title: Flex/Actionscript : How to change property (label) of all buttons?
body: <p>I'm new to Flex/Actionscript and have a very basic question.</p>
  <p>Let's say I have about 100+ buttons. They all have the same label. Now I want to change the label for all with a click.  I could give them IDs and then run a for loop, but I'm searching for a neater solution.</p>
  <p>Thanks for help.</p>
  <h3>Update:</h3>
  <p>Hm, it doesn't work because label of buttons are modified during the run time.
  This is the code</p>
  <pre><code>public function changeButton(event:Event):void {
      if (event.target.label != 'X') {
      event.target.label ='X';
      } else {
      event.target.label ='';
      }
  }
  </code></pre>
  <p>Now I need a button that will on click delete/replace this label with an empty one.</p>