Manohar,, thank you for your insights.. i tried it but didn't work for me..
so i used this one and it worked.
http://life.neophi.com/danielr/2007/05/mx_internal.html
what Manohar is trying to imply here is use _dropData. i am currently
working on a project where i have to detect the parent where
fyi
if you are looking for more information on dropTarget (in other words, the
mx_internal variable _dropData), you could access it using namespace
'mx_internal'.
for e.g., say I have a tree
mx:Tree id=tree ..blah.. /
_dropData could be accessed as -
var ns:Namespace = mx_internal;
var
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:
3 matches
Mail list logo