Extending List Component
I've been looking high and low across many forums and Flash websites, but cannot seem to find a way to do what I need. I am trying to make an extension of the List component. Basically, I want the List component but have it customized and setup with additional functions. So, I want to extend or subclass the List component, but the only way I've seen so far is to use movie clips. But, this does not allow me to retain the original functionality of the List component, as I would still like to be able to do newList.addItem() or any other method for List. Perhaps the only way to do that would be to define all those methods in the new subclass and call them using super(). But, if there is a direct way to modify the List component as I want, and turn it into a new component directly, I would appreciate help on that. Sorry if this isn't very clear.
|