Is there a way to copy the object by value instead of reference upon
drag and drop? I'd like to make a copy of the object being dropped
into the new container so that changes made to it, do not effect the
original.

I tried implementing a handler on dragComplete as such:

public function handleSelectedItemsDragComplete(e:DragEvent):void {
Object(e.draggedItem).data = ""> }

This doesn't seem to work and I'm not sure why. When I make updates to
DataGrid A, it still effects DataGrid B.

Is there a better way to accomplish this?





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to