Thanks Alex,

Actually,that's exactly the answer I was afraid off..
when looking at the said code, I have a feeling, -since I'm using custom
itemrenderrer in my list- it might be simpler to dispatch mouse over events
from there.
Am I wrong ?


On Fri, Mar 14, 2008 at 3:04 AM, Alex Harui <[EMAIL PROTECTED]> wrote:

>    Tree has drop into folder code.  Is that what you're looking for?
>
>
>  ------------------------------
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Thibaud Van Vreckem
> *Sent:* Thursday, March 13, 2008 10:59 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] drag and drop between list - changing default
> behavior to allow dropping "into" list item.
>
>
>
> Here we go again... sorry message was sent unfinished by mistake..
>
> I Have 2 List:
>
> "list1" contains *folders.
> *"list2" contains *files
>
> *they are both drag and drop enabled:
> dragEnabled="true"
> dragMoveEnabled="true"
> dropEnabled="true"
> dragEnter="dragEnterHandler(event)"
>
> *
> *I'm keeping the default dnd behavior for reordering only *within *each
> list.
>
> private function dragEnterHandler(event:DragEvent):void {
>    if (event.dragInitiator != event.currentTarget) {
>     event.preventDefault();
>   }
> }
> *
> *Now How should I go about enabling my files items from list2 to be
> dropped *over *the folder items in list1 (instead of being inserted in the
> list rows).
> is there an easy way to detect which item in the list I am rolling over
> without resorting to some fancy coordinate position detection ?
>
> Thanks.
>
>  
>

Reply via email to