Possible to change component on state change - Flex
I've got a whole bunch of data being displayed in different Labels, now I'm adding an edit state. I'd like all the labels to "transform" into开发者_开发知识库 TextInputs. I was just wondering if it possible to uses states to change
into something like this
Would probably be easier to toggle between visible and invisible components on state change.
So the label lblFirstName is in the same x/y position as text txtFirstName. When lblFirstName is visible txtFirstName is not.
Shouldn't be too hard to set up.
精彩评论