I have a bold font embedded but how do I refer to it for the label?
[Embed(source='resources/verdanab.ttf', 
    fontWeight='bold', 
    fontName='myVerdanaFont2', 
    mimeType='application/x-font')] 
private var font2:Class;

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> The CB label is usually in Bold isn't it?  You have to embed a bold 
font
> as well.
> 
> ________________________________
> 
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Jeff Schuenke
> Sent: Friday, September 07, 2007 8:59 AM
> To: [email protected]
> Subject: [flexcoders] Re: font in comboBox and Title not the same
> 
> 
> 
> .zoomStyle{
> right: 10;
> bottom: 10;
> padding-right: 10;
> fontFamily: myVerdanaFont; 
> fontSize: 12;
> fontStyle: normal;
> kerning: true;
> }
> 
> where myVerdanaFont is embedded as follows:
> [Embed(source='resources/verdana.ttf', 
> fontWeight='normal', 
> fontName='myVerdanaFont', 
> mimeType='application/x-font',
> flashType='true'
> )] 
> private var font1:Class;
> 
> --- In [email protected] <mailto:flexcoders%
40yahoogroups.com>
> , "Alex Harui" <aharui@> wrote:
> >
> > What does the stylesheet look like?
> > 
> > ________________________________
> > 
> > From: [email protected] <mailto:flexcoders%
40yahoogroups.com>
> 
> [mailto:[email protected] <mailto:flexcoders%
40yahoogroups.com>
> ] On
> > Behalf Of Jeff Schuenke
> > Sent: Friday, September 07, 2007 7:56 AM
> > To: [email protected] <mailto:flexcoders%
40yahoogroups.com> 
> > Subject: [flexcoders] font in comboBox and Title not the same
> > 
> > 
> > 
> > I have set the font for a comboBox using a styleSheet. The font 
in 
> the
> > drop list changes but not the font displayed as a label. You can 
> see
> > this here <http://www.miragevideo.com/sample.gif
> <http://www.miragevideo.com/sample.gif> > 
> > 
> > How can I set the font for the label as well?
> > 
> > thanks,
> > 
> > Jeff
> >
>


Reply via email to