it is a style and all styles should be set using the setStyle() method in actionscript.
- venkat http://www.venkatj.com --- In [email protected], "Seth Caldwell" <[EMAIL PROTECTED]> wrote: > > For example, I'm wanting to set the headerStyleName on an > AdvancedDataGridColumn. which you can do with mxml: > <mx:AdvancedDataGridColumn headerStyleName="someStyle"/> > > However, when I try to do it with actionscript: > > > > var adgc:AdvancedDataGridColumn = new AdvancedDataGridColumn(); > > adgc.headerStyleName = "someStyle"; > > > > I get the error that headerStyleName is not defined on > AdvancedDataGridColumn. > > Huh? > > > > Whats going on here, and how can I set it programmatically? > > > > Thanks, > > > > Seth >

