sig.setStyle("fontWeight", "bold");
TH
--- In [email protected], "willchapm" <[EMAIL PROTECTED]> wrote:
>
> An mx:Label's font attributes are notavailbale in Actionscript in
Beta
> 3. I'm using:
>
> <mx:Label id="sig" fontWeight="bold" fontSize="20">
>
> I'm trying to change the font size and weight via actionscript at
> runtime:
>
> this.serial.fontSize = 8;
>
> However, I can't see the attributes in FlexBuilder. When I try to
> override it and set them myself, I get:
>
> "Access of possibly undefined property fontSize through a
reference
> with static type mx.controls:Label"
>
> What am I doing wrong, or is this a "Beta 3 thing"?
>
> ---Will
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

