If the tree is a droptarget, the dragscroll will kick in to allow you a
chance to scroll before dropping.  If you don't ever want to drop on
that tree, set dropEnabled=false

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of helihobby
Sent: Wednesday, December 19, 2007 6:43 PM
To: [email protected]
Subject: [flexcoders] Re: Why does my Tree Control Vertically scrolls on
its own ?

 

I was doing ...

DragManager.acceptDragDrop(target);

But why would this screw it up ?

Regards,

Sean.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "helihobby" <[EMAIL PROTECTED]> wrote:
>
> It sure was ...
> 
> I did:
> 
> override protected function dragScroll():void {}
> 
> Which solved the problem ...
> 
> Thanks.
> 
> Any idea what it was being called ?
> My dropTarget was set on another canvas ...
> Can you explain ?
> 
> Thank you for all the help,
> 
> sean.
> 
> 
> --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <aharui@> wrote:
> >
> > That's probably the dragScroll kicking in. Is dropTarget=true?
> > 
> > 
> > 
> > ________________________________
> > 
> > From: [email protected]
<mailto:flexcoders%40yahoogroups.com>  
> [mailto:[email protected]
<mailto:flexcoders%40yahoogroups.com> ] On
> > Behalf Of helihobby
> > Sent: Wednesday, December 19, 2007 1:26 PM
> > To: [email protected] <mailto:flexcoders%40yahoogroups.com>

> > Subject: [flexcoders] Why does my Tree Control Vertically scrolls 
> on its
> > own ?
> > 
> > 
> > 
> > Hi All,
> > 
> > I have my mx:tree set to liveScrolling false and yet when I drag 
> items
> > out of the Tree the vertical scroll bar / tree scrolls down as if 
I 
> am
> > scrolling down ...
> > 
> > I wish for the tree to remain on its current scroll position ...
> > 
> > Is this a bug in Flex SDK 2.01 ?
> > 
> > Regards,
> > 
> > Sean.
> >
>

 

Reply via email to