--- In flexcoders@yahoogroups.com, Richard Rodseth wrote:
>
> I'm now aware of dropIndicatorSkin and found an example that
> customized the skin to do this:
>
> g.beginFill(0xa1bde2, 0.5);
> g.drawRect(-5, -1, w, 23);
>
> which is obviously a bit, er
And of course I had to add to my renderers dragExit:
MyTreeSubclass(this.listData.
>
> owner).highlightItem(this,false );
On Wed, May 12, 2010 at 11:10 AM, Richard Rodseth wrote:
> Though I strive to avoid subclassing the standard components, the code I
> inherited already has a Tr
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 t
No, this is dragging items from a datagrid to a tree.
On Wed, May 12, 2010 at 10:43 AM, Baz wrote:
>
>
> Doesn't the node already highlight because you are rolling over it?
>
>
Doesn't the node already highlight because you are rolling over it?
Could you elaborate a bit, please? The component is already used with a
custom renderer. Are you suggesting that the dragEnter method should just do
the highlighting directly? Makes sense, I suppose.
On Wed, May 12, 2010 at 10:24 AM, Alex Harui wrote:
>
>
> I would use a custom renderer.
>
>
>
>
I would use a custom renderer.
On 5/12/10 9:50 AM, "Richard Rodseth" wrote:
I'm now aware of dropIndicatorSkin and found an example that
customized the skin to do this:
g.beginFill(0xa1bde2, 0.5);
g.drawRect(-5, -1, w, 23);
which is obviously a bit, er, hard-coded.
The location
I'm now aware of dropIndicatorSkin and found an example that
customized the skin to do this:
g.beginFill(0xa1bde2, 0.5);
g.drawRect(-5, -1, w, 23);
which is obviously a bit, er, hard-coded.
The location and height for the skin appear to be set for
8 matches
Mail list logo