On Tue, Apr 10, 2012 at 9:16 AM, Michael A. Labriola <
labri...@digitalprimates.net> wrote:

> var objEvent:PropertyChangeEvent = PropertyChangeEvent(event.clone());
>                  //When itemUpdated is called, there is no event target.
> This means getItemIndex returns a -1
>                  //Since this was originally cast as a uint, this caused
> many strange results. Changing it to
>                  //an int to be consistent throughout other uses of this
> event
>            var index:int = getItemIndex(event.target);
>            objEvent.property = index.toString() + "." + event.property;
>            dispatchEvent(objEvent);
>

I would agree with this change as uints also are very error prone on a
variety of air targets and ints are uniform across platforms.

-- 
Jonathan Campos

Reply via email to