Hi, fillColors is not a supported property (style) for a Panel. Unless you draw your own gradiant background with a programatic skin (borderSkin) or use a background image, you're going to be stuck with a solid backgroundColor on a container; except the Application tag.
-TH --- In [email protected], "netdeep" <[EMAIL PROTECTED]> wrote: > > I have a panel component: > > <mx:Panel id="panel" styleName="gradientBgrd"> > <mx:Style> > .gradientBgrd { > borderStyle: applicationControlBar; > } > </mx:Style> > > And I want to update the fillColors in actionscript: > > panel.setStyle("fillColors", [0xFF0000, 0x00FFFF]); > > but this doesn't work. What is the proper syntax? > > Thanks. >

