I try change cause no work and me no Google.

--- In [email protected], "ag_rcuren" <robert.vancuren...@...>
wrote:
>
> --- In [email protected], "Tim Hoff" TimHoff@ wrote:
> >
> >
> > styleLabel.setStyle("fontSize", 72);
> > -TH
> >
> > --- In [email protected], j2me_soul <j2me_soul@> wrote:
> > >
> > > I try to change the style at runtime
> > >
> > > <mx:Button x="38" y="44" label="ΪÖйúºÈ²Ê"
> > click="butClickHandler(event)"/>
> > > <mx:Label id="styleLabel" text="I'm Label"/>
> > >
> > > private function butClickHandler(event:MouseEvent):void
> > > {
> > > /* it doesn't work */
> > > styleLabel.setStyle("font-size", 72);
> > > }
> > >
> >
>
>
> Try this:
>
> styleLabel.setStyle("fontSize", 72);
>
> Flex Style names are camel cased so instead of font-size it is
fontSize
>



Reply via email to