We have code that removes all elements in a container. It does something like 

while (container.numElements) {container.removeElementAt(0)}

The problem was that ContainerBase.removeElementAt(0) actually did
ContainerBase.contentView.removeElementAt(0) while container.numElements was
returning ContainerBase.numElements, not
ContainerBase.contentView.numElements.

I fixed that, but I was wondering if ContainerBase.$numElements should be
fixed as well. I'm not sure exactly what the $ methods do in ContainerBase.
Are they meant to insure the contentview is not used as a delegate?



--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-numElements-and-contentView-tp54359.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to