I'm not sure why you say you can't use setCursor() on mouseMove?

 

Anyway, everything described in the original email seems ok.  What is
the mouseDown target?  Did you try setting a cursor then?

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sheriff
Sent: Monday, October 15, 2007 10:39 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Custom Drag Cursors

 

Are you using the cursorManager or just when a drag happens? u cant just
use cursorManager.setCursor(...whatever u want) on mouse move

----- Original Message ----
From: toofah_gm <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Monday, October 15, 2007 5:35:07 PM
Subject: [flexcoders] Custom Drag Cursors

I am trying to use my own custom cursor for drag and drop
functionality and having a little trouble. 

I have added my own cursor to mouseOver on the object that is
draggable... this is to indicate that the object is draggable.

I have setup css style for all of the DragManager cursors like this:
DragManager
{
copy-cursor: Embed(source= "/assets/ images/copy. png");
link-cursor: Embed(source= "/assets/ images/link. png");
move-cursor: Embed(source= "/assets/ images/move. png");
reject-cursor: Embed(source= "/assets/ images/reject. png");
}

Now the trouble.
When I hover I see my custom cursor.
When I mouseDown I see the default cursor...this is the problem.
When I start dragging I see my custom cursors.

How do I see my custom cursor during the entire process? 

During mouseDown event I call DragManager. startDrag( ). If I do not
clear my hover cursor, or if I set a different cursor, the custom drag
cursors never show up. It seems that any set cursor overrides the
drag ones.

If I clear my hover cursor before I call startDrag(), the custom drag
cursors do not show up until the first mouseMove. There is a window
between mouseDown and mouseMove where I have no custom cursor.

Any ideas? Am I missing something here? I guess that I can override
the mouseMove event if I need to and clear it there if I have to.

Thanks.

 

 

________________________________

Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
panel
<http://us.rd.yahoo.com/evt=48516/*http:/surveylink.yahoo.com/gmrs/yahoo
_panel_invite.asp?a=7%20>  and lay it on us. 

 

Reply via email to