[flexcoders] Adding custom styles to MXML component

2007-06-05 Thread borekbe
I'm trying to create a MXML component with custom [Style] defined is mx:Script section. The compiler is complaining that [Style] must annotate a class. I understand this message and I see where the problem is but I don't know how to overcome it. Any advice? Thanks, Borek

Re: [flexcoders] Adding custom styles to MXML component

2007-06-05 Thread Michael Schmalle
Hi, it's mx:Metadata [Style(name=myStyle)] /mx:Metadata Peace, Mike On 6/5/07, borekbe [EMAIL PROTECTED] wrote: I'm trying to create a MXML component with custom [Style] defined is mx:Script section. The compiler is complaining that [Style] must annotate a class. I understand this