Did you call preventDefault?  Your drophandler gets called before the
List's and it will set the action again.

 

You may need to add a lower-priority handler so the List gets called
first, since preventDefault() will also prevent the List from doing
other things.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeffry Houser
Sent: Wednesday, August 29, 2007 9:24 AM
To: [email protected]
Subject: Re: [flexcoders] Preventing CTRL, ALT, and SHIFT for DragEvent?

 


Would dragMoveEnabled="true" do it?

restlessdesign wrote:
> 
> 
> Hi everyone!
> 
> Sorry to make my first post be a cry for help but short of rewriting
> the DragEvent class, is there another way to essentially ignore the
> keyboard while dragging items between list components so that the
> action is always 'move'? I tried setting the action property in the
> drop event handler, but that didn't seem to make a difference. Do I
> need to set it higher up in the event chain or is there another
> property or method I can use?
> 
> Thanks!
> -Kevin
> 
> 

-- 
Jeffry Houser, Technical Entrepreneur, Software Developer, Author, 
Recording Engineer
AIM: Reboog711 | Phone: 1-203-379-0773
--
My Company: <http://www.dot-com-it.com <http://www.dot-com-it.com> >
My Podcast: <http://www.theflexshow.com <http://www.theflexshow.com> >
My Blog: <http://www.jeffryhouser.com <http://www.jeffryhouser.com> >

 

Reply via email to