flexcoders  

[flexcoders] Re: Styling AdvancedDataGridItemRenderer

Amy
Thu, 26 Jun 2008 06:40:51 -0700

--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote:
>
> I'm trying to extend AdvancedDataGridItemRenderer to allow the 
> styleFunction to set both the backgroundColor and the alpha of the 
> item in.  I've used a combination of the custom style example in 
the 
> docs and the example here 
http://flexpearls.blogspot.com/2008/02/row-
> background-color-in.html.  The problem I'm having is that it 
doesn't 
> matter what you set the alpha property to, it doesn't affect the 
> visual appearance of the component.
> 
> I tried using the graphics object to draw the box, but it seems 
like 
> the base component doesn't support this.  If anyone has any ideas, 
> please share.

I suppose I should feel flattered that I've asked a question that is 
so hard that no one here can answer it.  Let me try again...maybe 
someone knows the answer to just this piece of it and if I know that 
I can perhaps find a fix:  Why is it that setting the alpha property 
on the component does not modify the visual appearance of this class?

I've really tried to figure this out myself, but the inheritance 
trail disappears into the Flash classes, and I haven't been able to 
find the source of those.

Thanks!

Amy