That tree is just working very well, thanks again Yves.
Romu
Yves Riel wrote:
I have done something similar lately except for the spring
loaded opening mechanism. The problem that I saw with Alex Harui's
approach was that you had to turn a leaf into a branch before being
able to drop a
How are you detecting if it is over the top or bottom portion of a node?
--
Howard Fore, howard.f...@hofo.com
The universe tends toward maximum irony. Don't push it. - Jeff Atwood
On Tue, Mar 10, 2009 at 8:30 AM, Yves Riel r...@cae.com wrote:
What I finally did was to overload some tree
Ah, didn't see the code attachment...
--
Howard Fore, howard.f...@hofo.com
The universe tends toward maximum irony. Don't push it. - Jeff Atwood
On Wed, Mar 11, 2009 at 7:16 AM, Howard Fore howard.f...@hofo.com wrote:
How are you detecting if it is over the top or bottom portion of a node?
You're welcome Romu.
It's not the first time people are looking for a better tree component.
Maybe it would be worth while to create a new tree component in FlexLib.
We could start with the basic functionality that I added.
Yves
Ok.. I'm going to confess.. Being a total newbie...
I'm not sure if I am implementing this AS file correctly.
I added the file to a folder under my project root and then imported it as
such
import TreeEx.TreeEx;
Now, since it's imported and overriding several protected methods, it should
just
Subject: Re: [flexcoders] Flex 3 Tree - Moving Nodes
Ok.. I'm going to confess.. Being a total newbie...
I'm not sure if I am implementing this AS file correctly.
I added the file to a folder under my project root and then imported it as
such
import TreeEx.TreeEx;
Now, since it's
BINGO!
Thank you everyone!
=]
--
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org
%40yahoogroups.com] On
Behalf Of Alan Rother
Sent: 09 March 2009 23:01
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
Subject: Re: [flexcoders] Flex 3 Tree - Moving Nodes
Thanks Jim,
Thats not exactly what I was looking for, but it's a great example of
how to use some
I have done something similar lately except for the spring loaded
opening mechanism. The problem that I saw with Alex Harui's approach was
that you had to turn a leaf into a branch before being able to drop a
node on it. That impacts the icons that represent the nodes and I still
wanted a leaf
Thanks a lot, Flash (Flex) community is amazing :)
I'll try that!
Romu
Yves Riel wrote:
I have done something similar lately except for the spring
loaded opening mechanism. The problem that I saw with Alex Harui's
approach was that you had to turn a leaf into a branch before being
able
I just implemented the same thing. What I did was have data in the XML
elements that differentiated what kind of node they were (topic and article
in my case) and that told me the parent topic of the selected node (using
parent topic id of 0 for a top level topic). This way you can compare data
Yeah,
I tried something similar, but since all of my nodes are essentially the
same (all pages) and can all be a parent or a child (leaf or branch as it
were) but the problem I'm running into is how do I discriminate between
intent, in other words how do I know if the user wanted to move the page
There might be a way to use a custom ITreeDataDescriptor to turn every child
into a branch. Open but empty folders have a middle drop zone for dropping
into.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From:
Good to know Alex,
I'm still a little (ok, a lot) green can you point me at a good tutorial /
example to start from?
=]
On Mon, Mar 9, 2009 at 2:48 PM, Alex Harui aha...@adobe.com wrote:
There might be a way to use a custom ITreeDataDescriptor to turn every
child into a “branch”. Open but
You could consider using a combination of a key input and being over a
certain node as to how you interact with it.
ie: if the CTRL key is down, then treat the node as a folder and drop
the page you are dragging as a child, otherwise drop the page you are
dragging as a sibling.
Cheers,
Another alternative is to have the node you are dragging over open
after two seconds and display a placeholder child. If you want to make
it a sibling, that will be your first option before the node has time
to open. If you want it to be a child, wait a couple of seconds whilst
the node opens
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 3 Tree - Moving Nodes
Good to know Alex,
I'm still a little (ok, a lot) green can you point me at a good tutorial
/ example to start from?
=]
On Mon, Mar 9, 2009 at 2:48 PM, Alex Harui aha...@adobe.com
mailto:aha...@adobe.com wrote:
There might
Thanks Jim,
Thats not exactly what I was looking for, but it's a great example of how to
use some of the Tree components, which I've been struggling with...
=]
--
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org
!
-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Alan Rother
Sent: 09 March 2009 23:01
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 3 Tree - Moving Nodes
Thanks Jim,
Thats not exactly what I was looking for, but it's
...@yahoogroups.com] On
Behalf Of Jim Hayes
Sent: Monday, March 09, 2009 7:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 3 Tree - Moving Nodes
I had thought that I'd used the code there to allow users to drag/drop
reorder and move tree nodes, but it was quite a long while ago so I
Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Alan Rother
Sent: 09 March 2009 23:01
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 3 Tree - Moving Nodes
Thanks Jim,
Thats not exactly what I was looking for, but it's a great example
21 matches
Mail list logo