I’m trying to make a Flex Tree Component display the children of a sprite in a hierarchical way.
Moreover, dragging the items on the FlexTree would resort and reparent the items. I have special Elements set as Folders. This would allow other elements to be added there as a children by dragging an element on the tree and dropping it there.
I have a failed attempt which works, but breaks when I try to add folders. Basically, it fails at reparenting the items by dragging and resorting folders and that D:
Does anyone know of a component or something which can do this, has anyone have created any of this or could anyone give me a clue?
The way I did it is not use flash sprites for the layer management, but use a separate variable which holds the folder each element belongs to.
Then, the tree is created using that information and it’s easier to modify it.