how to change font color and size within single label component in flex

Posted by Rees on Stack Overflow See other posts from Stack Overflow or by Rees
Published on 2010-05-18T09:37:42Z Indexed on 2010/05/18 9:40 UTC
Read the original article Hit count: 303

Filed under:
|

i'm trying to create a unordered list in Flex. My issue is that within each line, i want the word NEW to be a different font color and different font size from the rest of the label text. I am unsure of how to do this INLINE within the label component. Any thoughts anyone?

<s:VGroup fontSize="15" color="#ffffff">
    <s:Label text="\u2022 NEW Invite your friends!" />
    <s:Label text="\u2022 NEW Features coming soon!" />
    <s:Label text="\u2022 NEW Invite your friends!" />
</s:VGroup>

© Stack Overflow or respective owner

Related posts about flex

Related posts about label-control