I added fontWeight: normal and nothing changed. I still don't understand why
the deferred creation from being on a subsequent tab prevents this issue.
Any other ideas?

Thanks,
Ben


On Wed, Apr 2, 2008 at 7:33 PM, Alex Harui <[EMAIL PROTECTED]> wrote:

>   The button will essentially call getStyle("fontWeight") and pull the
> value from the Button type selector if fontWeight is not set elsewhere
>
>
> -----Original Message-----
> From: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com> [mailto:
> flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>] On Behalf Of
> Ben Clinkinbeard
> Sent: Wednesday, April 02, 2008 3:25 PM
> To: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>
> Subject: Re: [flexcoders] Embedded fonts + modules = weirdness
>
> Shouldn't it use whatever font I tell it to?
>
> And why would it work on one instance of the same button and not another?
> It is definitely related to being on a non-deferred tab because it only
> happens on the first tab, no matter how many there are.
>
> Thanks,
> Ben
>
> Sent via BlackBerry by AT&T
>
> -----Original Message-----
> From: "Alex Harui" <[EMAIL PROTECTED] <aharui%40adobe.com>>
>
> Date: Wed, 2 Apr 2008 14:52:26
> To:<flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>>
> Subject: RE: [flexcoders] Embedded fonts + modules = weirdness
>
> I'm not sure how modules got involved.
>
> Most buttons use bold fonts for their labels and I don't see that
> fontWeight specified in this snippet
>
>
>
>
> ----------------
>
> From: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com> [mailto:
> flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>] On Behalf Of
> ben.clinkinbeard
> Sent: Wednesday, April 02, 2008 2:21 PM
> To: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>
> Subject: [flexcoders] Embedded fonts + modules = weirdness
>
>
>
>
> CSS file in main app:
>
> @font-face
> {
> src: url("assets/fonts/Gotham-Medium.otf");
> fontFamily: "GothamMedium";
> }
> Button.BlueButtonOutline
> {
> skin: Embed(skinClass="Button_BlueButtonOutline_skin");
> fontFamily: "GothamMedium";
> font-size: 14;
> color: #FFFFFF;
> text-roll-over-color: #FFFFFF;
> text-selected-color: #FFFFFF;
> }
>
> I then have a component in a module that has a child button with
> styleName="BlueButtonOutline", simple enough. That component is then a
> child of a 2 TabNavigator children. The button that is a descendant of
> the first tab has a mystery font to begin with, and then the text
> disappears completely on rollover. The button that is a descendant of
> the second tab works perfectly.
>
> What gives?
>
> Thanks,
> Ben
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>  
>

Reply via email to