You would have to implement this on your own.

A starting point would be a custom AS class extending
mx.skins.halo.HaloBorder. Inside override the updateDisplayList() method
and draw the gradient yourself. The HaloBorder class provides helper
functions to draw horizontal gradients by calling drawRoundRect() and
passing in a horizontal gradient matrix.

Finally, set the border-skin style of the Box/Application to the custom
class, e.g.

  border-skin: ClassReference("foo.bar.Gradient");

Dirk.

> -----Original Message-----
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of dorkie dork 
> from dorktown
> Sent: Monday, October 09, 2006 5:06 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Gradient Fill from LEFT to RIGHT
> 
> I would like to apply a gradient fill from left to right on 
> the application or hbox component. Something assigned through 
> css styles or tag attributes. TIA
> 
> Judah
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to