[flexcoders] Open/Close items in Tree Control

2009-12-07 Thread atflex9
Hi, I am facing a problem with Expanding the branches of Tree control. I was trying to add a new XML node to a branch at runtime by calling an HTTP service and when I expand the branch to which the new XML node was added it is automatically getting closed. I tried to refresh the tree and invali

[flexcoders] Display icon and label

2009-11-03 Thread atflex9
I am trying to display icon and label vertically in MenuBar control. But they are displaying it horizontally. I also tried to override updateDisplayList() but it did not worked out. Does anyone have a code snippet about how to display an icon and label vertically?