use the currentTarget of the event to differentiate b/w outer and inner canvas. Then check the mouseX and mouseY to determine where you actually want to drop the object.
Instead of removing the listeners, just return from the event handler function, if conditions are not matching your needs. On Mon, Apr 12, 2010 at 8:25 PM, shalu popli jain <[email protected]>wrote: > Pls share the code..then it will be easy for me to understand the problem.. > thanks! > > On Mon, Apr 12, 2010 at 5:56 PM, Soumitra <[email protected]> wrote: > >> >> I cannot remove the event of DragDrop event from the canvas... >> Where as I Can Add a new event but cannot remove the event using >> canvas.removeeventlistener(..... , .....); >> -- >> View this message in context: >> http://old.nabble.com/Nested-Drag-And-Drop-Events.-tp28150483p28217047.html >> Sent from the Flex India mailing list archive at Nabble.com. >> >> -- >> 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]<flex_india%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> >> > -- > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- Thanks, Vaibhav Seth. -- 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.

