That's it! Thank you very much, Mike. --- In [email protected], "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > 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 message and I see where the problem is but I don't > > know how to overcome it. Any advice? > > > > Thanks, > > Borek > > > > > > > > > > -- > Teoti Graphix > http://www.teotigraphix.com > > Blog - Flex2Components > http://www.flex2components.com > > You can find more by solving the problem then by 'asking the question'. >

