Hi Winscot,
I found an alternative way to get a proxy image for the DragManager // FANCY: // --- // Add a proxy image here for drag manager to use if you would like! var proxy:UIComponent = UIComponent( event.currentTarget ); // Copy the contents of the control (a la bitmap data) var bitmapData:BitmapData = new BitmapData( proxy.width, proxy.height ); bitmapData.draw( proxy ); // Let the drag manager take care of the rest - with a visual indicator of what its dragging... DragManager.doDrag( dragChild, dragSource, event, new BitmapAsset(bitmapData) ); Harald Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Rick Winscot Gesendet: Samstag, 12. April 2008 03:05 An: flexcoders@yahoogroups.com Betreff: RE: [flexcoders] drag and drop a button? Take a look at this sample - BitmapData is used to create a proxy on the fly of the object being dragged. http://www.quilix.com/node/3 Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Friday, April 11, 2008 10:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] drag and drop a button? Is there a simple tutorial for it? I don't really want to have an image proxy - I want to really drag a button somwhere else on the canvas. Simple.