Hi, I want to write a custom control but Im not that familiar with Flex. What I need is a chat area, where I can paint my text, smileys etc.
Im a bit confused by Flex's design, and so dont know what controls to inherit from. Im thinking I should derive from UIComponent. But then how to I control the painting of it? It seems to have no event which gets called when Flash wants to repaint the control. I cant simply paint it once and leave it at that, because it will get obscured sometimes, and wont repaint unless I tell it to. Any advice please? Maybe I should be deriving from a different class which exposes a paint event similar to Win32 programming. Thanks