[flexcoders] Re: FormItemLabel style

2007-10-22 Thread diehlryan
I'm not trying to set it on a Label per se, I'm trying to set the style on the label that gets generated in a FormItem. mx:FormItem id=... label=User Id: I've tried setting the fontWeight style on the FormItem itself, but that will style the control as well as the label. --- In

Re: [flexcoders] Re: FormItemLabel style

2007-10-22 Thread Scott - FastLane
I see. I wonder if you could do something like this: var children:Array = formItem.getChildren(); for each(child:DisplayObject in children) { if(child is Label) { child.setStyle... } } Just a thought... but, there is likely some easier way. Scott Scott Melby Founder, Fast