hey all i
have been working on an air app for quite some time and in one of my mx:lists i have a custom renderer written in pure AS (no mxml)
it extends the listitemrenderer mx componenet
in it i have overrode the createChildren() function to add some children of my own
now, fort right-to-left text i want in this itemrenderer, i would like to add a spark:TextArea component in this createChildren() function
is there a way to do so?
Assuming you are following the lifecycle rules (handling commitProperties(),
measure() and updateDisplayList() properly), it should just work.
well, i have always struggled with the lifecycle rules
and here i just create the TextArea in createChildren(), assign it's text property to "hello world" and thats it
at runtime i get no errors, but i cannot see the TextArea
what else should i do?