title: Flex Repeaters and EventListeners
body: <p>At first glance, the Repeater control looks extremely powerful, but now I'm having second thoughts.</p>
  
  <p>Problem at hand:
  Adding Event Listeners to the children</p>
  
  <p>Repeater object is bound to and iterates through an ArrayCollection creating new Vbox children for each item. Now for each child, the Repeater object will fire off a "repeat" event, where I'm tempted to add the eventlistener (for mouse events). No problems so far, but, what happens when the ArrayCollection changes, how should I remove the EventListeners for all the old children? Is there an array of children containing my Vbox instances that I'm skipping over in the docs? Are eventlisteners cleaned up nicely when the object they are attached to is destroyed?</p>
  
  <p>-C coder lost in flex/actionscript</p>