This sounds like a job for "states". But it would be a custom component as you say.
Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of frosifer Sent: Monday, November 03, 2008 4:56 PM To: [email protected] Subject: [flexcoders] switch label to textinput Does the concept of ItemRenderers and ItemEditor apply outside of a list-based control? What I would like is to have a label control (no border, etc) display some text, and then allow the user to change this text by making the label turn into a textinput control when it receives focus. This is similar to the default behavior of strings in editable datagrids, for example. But I do not want this to be inside a grid, I want the label to be directly on a form/canvas. What is the best way to do this? Do I actually need to come up with a custom control that switches between the two components based on the focusin and focusout events, or is there more built-in support for this behavior?

