i have an filter array containing one drop shadow filter. trace is returning -1 instead of 0 for indexOf after it is tracing that the array contains the object. please explain.
trace(filterObject);
trace(displayObject.filters);
trace(displayObject.filters.indexOf(filterObject));
//outputs:
//
// [object DropShadowFilter]
// [object DropShadowFilter]
// -1