Anywhere in an open folder (like its children) or just the open folder
row?
 
If you look at the Tree source you can see how to get parents of things
that are visible, and you might be able to use that to call
preventDefault on the drag event.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of iilsley
Sent: Sunday, May 18, 2008 9:20 AM
To: [email protected]
Subject: [flexcoders] Tree - Drag Drop - prevent drop into folder




I'm trying to prevent the 'drop' of a 'dragged' folder 
into an open folder but having no luck . 

I've looked @ the 'Spring Loaded Folders'
http://www.flexibleexperiments.com/Flex/SpringLoadedFolders2/Sample.html
<http://www.flexibleexperiments.com/Flex/SpringLoadedFolders2/Sample.htm
l> 

which is almost there , but it still allows the drop if you position
the source at the end of the 'drop folder' . 

Is there a way to get the 'parent' folder of the drop target ?



 

Reply via email to