Private classes
Juten Tach,
in my previous post, i talked about singletons and private (invisible) classes. You know, these classes, that you put in the class file of a regular class, but outside of the package declaration, so that they are only visible to the regular class in that file.
I was a bit unsure, if this is a regularly supported feature. Today i looked through the sources of the flex framework in order to learn more about Arrays and ArrayCollections. And there, in the class ListCollectionView, i found two private classes residing beside the original ListCollectionView: ListCollectionViewCursor and ListCollectionViewBookmark. So, that’s good enough for me. Doubts are gone, i will start making use of them.


I had problems with private components (e.g. Item renderers) and automation. The automation tools seem to choke when they see a component without a public definition.