Try using SuperImage from quietlyscheming.com
1 person found this helpful
This is an image list with drag capability, the drag initiator is in the item renderer. Once you populate the list you can drag an item onto the main canvas
http://gumbo.flashhub.net/pagedrop/ src included
Cheers. I've tried changing the function to this:-
private function img_mouseDragHandler(event:MouseEvent):void
var target:Image = Image(event.currentTarget);
var sourceObject:Object = new Object();
sourceObject.width = 50;
sourceObject.height = 50;
sourceObject.img = target.source;
var dragSource:DragSource = new DragSource();
DragManager.doDrag( target, dragSource, event,
null , -0, -0, 0.40, true );
and I've put the img_mouseDragHandler(event) code in the mouseDown property of my tilelist but when I run it and hold the mouse down on an item I get the error message "type coercion failed: cannot convert mx.controls::TileList@9e09851 to mx.controls.Image"
What I basically want is for it to look as if the tilelist item itself is being dragged or if that's impossible perhaps for just the image of the tilelist item being dragged to be set as the drag proxy somehow.