Hi Subrata,

For this purpose, you have to add dragSource in the dragInitiator.
After that add formats in the dragSource using DragSource.addData()
method.

On the dragEnter event of the list which is supposed to accept the
drop, you can compare the drag source using the DragSource.hasFormat()
method.

for example in the dragSource you can add format data as list1,
list2 .. so on.

on the dragEnter event of the lists, you can compare whether the
dragSource of the dragInitiator is having the particular format, if
the format is existing, accept the Drop,, else, do not accept the
drop.

Read this article to learn more about drag and drop using the Drag
Manager - 
http://livedocs.adobe.com/flex/3/html/help.html?content=dragdrop_5.html

HTH,
Sambhav

On Mar 4, 4:44 pm, Subrata <[email protected]> wrote:
> Hi,
>  My Requirement is ...
>   I have four List...
>
>  List1   --> List3    and List3--> List1             (Move between
> List1 and List3)
>  List2   --> List4    and List4--> List2
>
> But not
>
>  List1 --> List4
>  List2 --> List3       (Never move to and from List1 to List4 and vice
> -versa)
>
> Thanks
> Subrata
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to