I extended a Tree component, made a little private method
that populates the tree from an xml using httpService.
now I want to drag the items in the tree that don't have
children of their own. so just the leaves, not the branches.
(if I use dragEnabled="true" and dragMoveEnabled="false" I
serve half my purpose .. I can drag the items from the tree without
moving them, BUT I can drag ALL items... which I do not want).
how can I do that? drag just the leaves?
I've written about dragging and dropping items to and from
Trees on my blog: weblogs.macromedia.com/pent; check those
articles. I show how you can examine the type of tree node and
either allow the drag to happen or cancel it.