views:

61

answers:

0

Some design specs require for the avatar to be under the mouse cursor when the item is dropped.

to get around this i can easily check the drop position to see if the item was dropped within a source andprogramatically insert the node(s).

My problem is trying to get a reference of type dnd.Source for the source that was dropped into.

How can i loop through all dnd.Source objects of a document?

OR

How can i convert an object of type Node to type dnd.Source.

(the 'New' keyword kills the app.)

cheers.