Wow, this only took 2 days to post.  See Doug's post for the solution.

-TH

[Moderator note: Things run slower over Xmas when we're all on holiday ;-)]

--- In flexcoders@yahoogroups.com, "Tim Hoff" <timh...@...> wrote:
>
>
> The only other thing that I can suggest that you try is:
>
> .myTabs {
> fontFamily: "AvenirLTStdMedium";
> }
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "Nate Pearson" napearson99@
> wrote:
> >
> > Doug, no I'm not doing that.
> >
> > Tim, The button css thing didn't work either :(.
> >
> > --- In flexcoders@yahoogroups.com, "Doug McCune" doug@ wrote:
> > >
> > > Out of curiosity are you loading modules or loading the framework
as
> > an RSL?
> > >
> > > Doug
> > >
> > > On Wed, Dec 31, 2008 at 1:12 PM, Tim Hoff TimHoff@ wrote:
> > >
> > > >
> > > > hmm, they are buttons. So, you could try using the font in
> Button{}
> > > > CSS. Kind of a bad hack though.
> > > >
> > > >
> > > > -TH
> > > >
> > > > --- In flexcoders@yahoogroups.com
<flexcoders%40yahoogroups.com>,
> > "Nate
> > > > Pearson" <napearson99@>
> > > > wrote:
> > > > >
> > > > > Yup, no change. The other styles do work but not the
> font-family.
> > > > >
> > > > > --- In flexcoders@yahoogroups.com
> > <flexcoders%40yahoogroups.com>, "Tim
> > > > Hoff" TimHoff@ wrote:
> > > > > >
> > > > > >
> > > > > > Hi Nate,
> > > > > >
> > > > > > Have you tried it without the quotes?
> > > > > >
> > > > > > tabStyleName: myTabs;
> > > > > >
> > > > > > -TH
> > > > > >
> > > > > > --- In flexcoders@yahoogroups.com
> <flexcoders%40yahoogroups.com>,
> > > > "Nate Pearson" <napearson99@>
> > > > > > wrote:
> > > > > > >
> > > > > > > I'm trying to get a custom font in the tabs of my tab
> navigator
> > > > and I
> > > > > > > can't get it to work. My code is below. I can get the font
> > to work
> > > > in
> > > > > > > other stuff but not in the tabs.
> > > > > > >
> > > > > > > Thanks!
> > > > > > >
> > > > > > > -Nate
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > .myNavigator {
> > > > > > > tabHeight: 30;
> > > > > > > tabWidth: 140;
> > > > > > > paddingLeft: 0;
> > > > > > > paddingTop:0;
> > > > > > > tabStyleName: "myTabs";
> > > > > > > firstTabStyleName: "myTabs";
> > > > > > > lastTabStyleName: "myTabs";
> > > > > > > selectedTabTextStyleName: "myTabs";
> > > > > > > font-family: AvenirLTStdMedium;
> > > > > > > borderColor: #8e8e86;
> > > > > > > borderThickness: 2;
> > > > > > > }
> > > > > > >
> > > > > > >
> > > > > > > .myTabs {
> > > > > > > highlightAlphas: 0, 0.1;
> > > > > > > fillAlphas: 1, 0.82;
> > > > > > > fillColors: #a2a2a2, #b7b6b4;
> > > > > > > backgroundColor: #758bbc;
> > > > > > > borderColor: #b7b6b4;
> > > > > > > color: #ffffff;
> > > > > > > textRollOverColor: #ffffff;
> > > > > > > themeColor: #b7b6b4;
> > > > > > > fontSize: 14;
> > > > > > > textAlign: left;
> > > > > > > font-family: AvenirLTStdMedium;
> > > > > > > }
> > > > > > >
> > > > > > > @font-face
> > > > > > > {
> > > > > > > font-family: AvenirLTStdMedium;
> > > > > > > src: url("assets/fonts/AvenirLTStdMedium.otf");
> > > > > > > }
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> >
>



Reply via email to