Hi Robert,
great job! Thank you.
I've implemented, in the old TOC, some code to hide layer not visible in scale range: in the addChild of TocITem.as I've inserted as filterFunction my function.
This function is overridden in TocMapLAyerItem.as and TocLayerInfoItem.as. It checks if isInScaleRange is true. Now I can't know where insert the children.refresh() . In the old TOC widget I've inserted the refresh in the TocItem.as in set scaledependat function. Now? I try to insert the parent.children.refresh() in the setIsInScaleRange... There is a better place for doing this kind of job?
Thank you for the support.