I need to write a class that can contain either a TextArea or
TextInput as one of it's private parameters. Essentially it's a
composite component that can be either a TextInput or TextArea with
some additional properties. My problem arises from the fact that the
common ancestor to both of these controls is UIComponent that does not
have a "text" attribute so I can't cast down to that common ancestor
when setting the text attribute.
Since I don't know that much about Flex I was wondering if there's a
common interface I'm missing or some other way to achieve access to
what I thought would be a common attribute.

Dale 

Reply via email to