For some reason when I expand all the nodes and try to delete
one of the great grand children all of the great grand children
shift over as if they are siblings of the node that I deleted the
great grand children from.
Anyone have some good ideas? I sure wish deletion of nodes
was as easy as in actionscript 2.0
There a quite a few posts about this problem here already -
it seems to be a tree rendering bug (seems to come in various
The safest work around after fiddling with the nodes in the
tree is to get the axe out and reassign the data provider. To be
nice to the user, you might want to keep the expansion state (this
may not work if you made big "structural" changes to the tree).
The following works for me (after your changed the tree data
var openItems:Object = treeopenItems;
tree.dataProvider = tree.dataProvider;
this.openItems = openItems;