On Thursday 20 July 2006 12:41, Jesús Iglesias wrote:
> dragInitiator in my case should be the node not the full Tree.
Why ?
> But I wanted the drag to display a copy of the node (the folder and the
> text), just the standard way it works.
If all you want is to change the image shown while dragg
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Tom Chiverton
Enviado el: jueves, 20 de julio de 2006 13:20
Para: flexcoders@yahoogroups.com
Asunto: Re: [flexcoders] Not acept drag on Tree nodes
On Thursday 20 July 2006 11:52, Jesús Iglesias wrote:
> What I need is someth
On Thursday 20 July 2006 11:52, Jesús Iglesias wrote:
> What I need is something likd:
> var dragInitiator:Object=Tree(event.currentTarget).selectedItem;
>
> But it has to bee a UIComponent, not just an object.
I haven't had to play with trees myself yet, but in dragIt():
ds.addData( Tree(event.cu
.
-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Tom Chiverton
Enviado el: jueves, 20 de julio de 2006 12:40
Para: flexcoders@yahoogroups.com
Asunto: Re: [flexcoders] Not acept drag on Tree nodes
On Thursday 20 July 2006 11:34, Jesús Iglesias wrote
On Thursday 20 July 2006 11:34, Jesús Iglesias wrote:
> private function dragIt(event:MouseEvent):void {
> var dragInitiator:Tree=Tree(event.currentTarget);
> var ds:DragSource = new DragSource();
> DragManager.doDrag(dragInitiator, ds, event);
>
e?
Thanks
-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Tom Chiverton
Enviado el: jueves, 20 de julio de 2006 12:05
Para: flexcoders@yahoogroups.com
Asunto: Re: [flexcoders] Not acept drag on Tree nodes
On Thursday 20 July 2006 10:36, Jesús Igle
On Thursday 20 July 2006 10:36, Jesús Iglesias wrote:
> Yes, it is supposed to work, but drop event is made always.
AFAIK you can't mix automatic drag/drop behaviour (dragEnabled="true"
dropEnabled="true" as MXML attributes) and doing it yourself
(mouseMove="dragIt()... dragEnter="doDragEnter(ev
't call acceptDragDrop but the drop is made the same.
Please any help.
Thanks again.
-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Tom Chiverton
Enviado el: jueves, 20 de julio de 2006 10:47
Para: flexcoders@yahoogroups.com
Asunto: Re:
On Wednesday 19 July 2006 17:57, Jesús Iglesias wrote:
> I have read the docs, but I don't know how to deny drop, there is aa
> acceptDragDrop method, but not anything to deny.
In your dragEnter handler, don't call DragManager.acceptDragDrop if you don't
want it dropped.
--
Tom Chiverton
*
I have read the docs, but I don't know how to deny drop, there is aa
acceptDragDrop method, but not anything to deny.
Jesus
- Original Message -
From: "Tom Chiverton" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 19, 2006 1:31 PM
Subject: Re: [flexcoders] Not ace
On Tuesday 18 July 2006 21:19, Jesús Iglesias wrote:
> subnode's drag and drop, from one node to another. The problem is I don't
> know how to reject the drag when your are on a subnode (showing the stop
> signal) and enable it only when you are on a node.
You'll need to write custom drag handling
Hi,
I have a tree in which I want to enable drag and
drop between main nodes, i.e. the tree have online nodes and subnodes, what I
want is to enable subnode's drag and drop, from one node to
another.
The problem is I don't know how to reject the
drag when your are on a subnode (showing
12 matches
Mail list logo