--- In [email protected], Jon Bradley <[EMAIL PROTECTED]> wrote:
>
> I'm guessing because it's not recognizing the embedded font - you're  
> seeing the character from the default font, not the embedded font.
> 
> A few things I try to make sure of:
> 
> 1. Don't name the embedded font in the Flash 8 swf file the same as  
> the system font.
> 
> 2. Open the Flash 8 SWF back up into Flash 8 IDE (or CS3 IDE). When  
> you do that, do a list variables - Debug > List Variables. Make note  
> of the 'exported' font name that Flash used for the font. That name  
> is what you'll use in Flex.
> 
> For example, on using a pixel font (Kroeger 05_56), I exported the  
> Flash 8 SWF file, the embedded symbol name ended up as "kroeger  
> 05_56_8pt_st". And in Flex, I used this in the CSS as follows:
> 
> @font-face {
>      src: url(../fonts/Kroeger.swf) ;
>      fontFamily: "kroeger 05_56_8pt_st";
>      font-weight: normal;
> }
> 
> And defining the usage of that font, recognizing that in this case  
> it's a pixel font and doesn't use the advanced anti aliasing....
> 
> .assetInfoTitle
> {
>       color:#666666;
>       fontFamily: "kroeger 05_56_8pt_st";
>       font-weight: normal;
>       fontSize: 8;
>       fontAntiAliasType: normal;
> }
> 
> Hopefully that will get you on your way.
> 
> best,
> 
> Jon
> 
> 
> 

Jon, I tried this today and the font name shown in the Flash 8 debug
variables windows is 'Wingdings', which i have in my embed section and
in my style declaration. However, I still can't see it in Flex. Guess
I'll have to fiddle some more.

Reply via email to