Though I strive to avoid subclassing the standard components, the code I
inherited already has a Tree subclass, so I added the following:

    public function highlightItem(item:IListItemRenderer,
highlighted:Boolean):void {
        this.drawItem(item, false, highlighted);
    }

And call it from the renderer's dragEnter handler:

            MyTreeSubclass(this.listData.owner).highlightItem(this, true);

Seems to be working OK.


On Wed, May 12, 2010 at 10:56 AM, Richard Rodseth <[email protected]>wrote:

> No, this is dragging items from a datagrid to a tree.
>
>
> On Wed, May 12, 2010 at 10:43 AM, Baz <[email protected]> wrote:
>
>>
>>
>> Doesn't the node already highlight because you are rolling over it?
>>  
>>
>
>

Reply via email to