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

 

Reply via email to