RE: Confusing code in org.apache.flex.collections.ArrayList

2014-05-23 Thread Michael A. Labriola
>Its intended so that if multiple people call disable() or enable() that it >will only dispatch events if the net result gets back to 0. >So, if two listeners disable() and one says enable() it shouldn't dispatch >again until the last one says enable() On a side note, I also see these methods ca

RE: Confusing code in org.apache.flex.collections.ArrayList

2014-05-23 Thread Michael A. Labriola
Gary, Its intended so that if multiple people call disable() or enable() that it will only dispatch events if the net result gets back to 0. So, if two listeners disable() and one says enable() it shouldn't dispatch again until the last one says enable() Mike -Original Message- From: