thanks Alex. I forgot the get in front of the dragImage function. Everything works like a charm, thanks again.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Monday, March 03, 2008 1:24 PM To: [email protected] Subject: RE: [flexcoders] List control alternate drag proxy issues That would imply that you didn't type: override protected function get dragImage():IUIComponent { // fill in what you need here. } It should not be illegal to override, unless you didn't use the right function signature. You cannot change the return type or parameter list in ActionScript ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Abenhaim, Joseph Sent: Monday, March 03, 2008 11:20 AM To: [email protected] Subject: RE: [flexcoders] List control alternate drag proxy issues I tried overriding this dragImage function using a new component that extends List but i get an illegal override. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Monday, March 03, 2008 11:01 AM To: [email protected] Subject: RE: [flexcoders] List control alternate drag proxy issues I would override this: /** * Gets an instance of a class that displays the visuals * during a drag and drop operation. * * @default mx.controls.listClasses.ListItemDragProxy */ protected function get dragImage():IUIComponent { var image:ListItemDragProxy = new ListItemDragProxy(); image.owner = this; image.moduleFactory = moduleFactory; return image; } ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of joseph_a_1999 Sent: Monday, March 03, 2008 10:20 AM To: [email protected] Subject: [flexcoders] List control alternate drag proxy issues Hi all, Just trying to figure out how to swap a drag proxy for a list control. I am not sure if i should be overriding any particular function of the list control or if i should play with the mouseover event of the item renderer itself. I have my list set to dragEnabled=true and inside my item renderer i've add a mousemove listener on itself and use the image inside as a proxy. That worked fine until i tried droping it in another list where it use to work prior to adding the mousemove & drag proxy commands in it. the data expected seem to be different than the array normally passed in the dragSource. Any help would be apreciated, Thank you. Joseph Abenhaim

