--- In [email protected], "netdeep" <[EMAIL PROTECTED]> wrote:
>
> 
> 
> Perhaps I am not understanding this properly.  When I add the 
following style to my Panel:
> 
> <mx:Style>
>       .gradientBgrd { 
>               borderStyle: applicationControlBar; 
>               fillColors: #003483,#a9a7ff; 
>               fillAlphas: 0.6, 0.6; highlightAlphas: 0, 0; 
>       }       
>       </mx:Style>
> 
> It renders with a nice gradient background because the borderStyle 
is set to 
> applicationControlBar. 
> 
> But how do I access the named .gradientBgrd style in my setStyle 
commands in 
> actionscript?  I believe if I could do that, I could effectively 
set the fillColors in the panel 
> with Actionscript.

this.styleName='gradientBgrd';

???

You may find this helpful if that doesn't work:

http://livedocs.adobe.com/flex/3/html/help.html?
content=skinstyle_3.html

Reply via email to