http://livedocs.adobe.com/flex/3/html/dragdrop_1.html
check this out, its the drag and drop section in the Flex dev manual.
THere is at least one Tree example in there.
By the way, the way I look at it at least, is that you do not drag and
drop nodes, list elements, itemRenderers, etc with drag-n-drop
functionality. Rather you drag the data behind these elements with a
nifty little image to indicate what is being dragged.
DK
On Fri, Jul 18, 2008 at 12:58 PM, timgerr <[EMAIL PROTECTED]> wrote:
> I have spent so much time on this, I really need a helping hand. This
> group has been wonderful to me, I am asking for a little more help
> than what others are asking for. I was wondering if someone could
> create an example of the node being dropped (label that is) and the
> node being dropped into.
>
> public function DoThis():void
> {
> trace('I was called');
> }
>
> Thanks for all the help,
> timgerr
>
> --- In flexcoders@yahoogroups.com, "timgerr" <[EMAIL PROTECTED]> wrote:
>>
>> In a drag and drop tree I was wondering how to get the name of the
>> node being dropped and how to get the name of the node that it was
>> dropped into? Here is what I have so far,
>>
>> http://www.adobe.com/2006/mxml";>
>>
>>
>> > url="http://127.0.0.1/try/xml/xml_v7.php"; resultFormat="e4x"
>> contentType="application/xml"
>> result="xmlReturned(event)" />
>> http://www.adobe.com/2006/mxml"; width="400"
>> height="300" left="20" top="10">
>>
>>
>>
>>
>>
>>
>>
>>
>> > width="300" showRoot="true"
>> dragEnabled="true" dropEnabled="true" dragMoveEnabled="true"
>> dragComplete="DoThis()"
>> />
>>
>>
>>
>> I do not know what to put for the DoThis function.
>> Thanks for the help,
>> timgerr
>>
>
>
--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?