Dear List, I want to use the tree control as a basis for a bulletin board. To extend the tree to display more than the label-field I started to write my own itemRenderer. I override the createChildren method to add a new TextField (addChild(myMessage)) and override the updateDisplayList to fill the myMessages' text with data (var tmp:XMLList = XMLList(TreeListData(super.listData).item); myMessage.text = [EMAIL PROTECTED];). So I got three questions:
1) The text is only shown when I use TextField as type for myMessage. I tried Label, Text, Textarea ... nothing worked. Why? 2) Is it possible to add other components als children, e.g. buttons? Whey I try to add a button (addChild(myButton) it isn't displayed. Why? How can I solve this? 3) Do you think the way to extend the tree component is the right way to go, or do you have any other ideas? Thanks in advance Peter -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/