Do you need to drag outside of Flex? If not, I think there's documentation on how to use the non-AIR mx.managers.DragManager which should give you better control.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: firstname.lastname@example.org [mailto:flexcod...@yahoogroups.com] On Behalf Of Tim Rowe Sent: Sunday, February 15, 2009 3:33 PM To: email@example.com Subject: [flexcoders] Disabling copy with dragDrop/dragEnabled Currently an app I'm working on has a traditional two-column set of lists - on the left our unassigned items, on the right the assigned ones. Flex allows you to drag features from one to the other, and these datasets are bound, so it's all handled internally, but unfortunately Flex/Air also allow a user to ctrl-drag - which copies the data. If the user does this, they end up with the data in both lists, which we don't want possible. If we're to leave dragging in, the ability to copy needs to be removed. We also want the drag icon to be displayed correctly in any solution. I can see a few ways to tackle this. 1. Disable dragging altogether. 2. Intercept the drop event/dragComplete and if the copy modifier is set, remove those elements from the source list. However, this won't change the cursor icon to only be 'move' (ie, it'll still be a 'copy' cursor, usually with a +), so doesn't really meet the requirements. 3. Ideally I'd like to just disable the copy function - but I can't find a way of doing this. Can anyone suggest how this can be done? Would this need to be done manually with a mouseMoveHandler wrapping a DragSource instead? Thanks, Tim Rowe Software Engineer carsales.com Ltd