Robert,
Thank you for the link. I looked over it and have been working to get something similar implemented into the TOC widget and here's where I'm at.
The data source for the TOC in the link you referenced is a list of the layer infos, but the TOC widget TOC scroller seems to only really be "aware" of the main parents (indices) involved in the scroller if there are subcategories/layers. So what I was attempting to do was to dispatch an event with the TOC data on the dragDrop event. From there, I was going to listen for that dispatched event in the TocMapLayerItem.as and basically create and run another function similar to the createChildren function that would reorder the dynamic layer infos to match the new order of the subcategories/layers and then call toc.map.reorderLayer to redraw the map layers. However I'm having some trouble getting the index of the subcategory/layer being moved to be able to know how to reorder the dynamic layer infos in the new function.
Am I WAY off track here? If so, do you have an easier solution/idea that could get me on the right path?
Gratefully,
Aaron