Flex4 embed fonts for a spark textInput does not

I can get the built-in fonts to work with mx:labels, but not for textInputs candles. any ideas? the component code:

<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" 
     xmlns:s="library://ns.adobe.com/flex/spark" 
     xmlns:mx="library://ns.adobe.com/flex/halo"
     width="275" height="107" xmlns:local="*"
     initialize="group1_initializeHandler(event)">
     <s:layout>
          <s:BasicLayout/>
     </s:layout>
     <fx:Style>
     @namespace components "components.*";
     @namespace mx "library://ns.adobe.com/flex/halo";
     @namespace p "*";
     @namespace s "library://ns.adobe.com/flex/spark";
          
     @font-face {
        src:url("../fonts/verdanab.ttf");
             fontFamily: verdanaBold;
             advancedAntiAliasing: true;
             fontWeight: Bold;
             unicodeRange:
                U+0041-005A, /* Upper-Case [A..Z] */
                U+0061-007A, /* Lower-Case a-z */
                U+0030-0039, /* Numbers [0..9] */
                U+002E-002E, /* Period [.] */
                U+002D-002D, /*  [-] */
                U+0040-0040; /*  [@] */
          }
          
          @font-face {
           src:url("../fonts/verdanab.ttf");
             fontFamily: verdanaBoldSpark;
             advancedAntiAliasing: true;
             fontWeight: Bold;
             cff: true;
             unicodeRange:
                U+0041-005A, /* Upper-Case [A..Z] */
                U+0061-007A, /* Lower-Case a-z */
                U+0030-0039, /* Numbers [0..9] */
                U+002E-002E, /* Period [.] */
                U+002D-002D, /*  [-] */
                U+0040-0040; /*  [@] */
          }
          
          .myBold {
             fontSize: 12;
             fontFamily: verdanaBold;
                 fontWeight: bold;
          }
          
          .myBoldSpark {
             fontSize: 12;
             fontFamily: verdanaBoldSpark;
                 fontWeight: bold;
          }
     
     
     </fx:Style>
     <s:Group id="front">
          <local:MailingListFront/>
          <mx:Label x="10" y="34" text="first name" styleName="myBold"/>
          <s:TextInput id="fname" width="81" x="10" y="52" styleName="myBoldSpark" />
          <mx:Label x="95" y="34" text="last name" styleName="myBold"/>
          <s:TextInput  id="lname" width="81" x="95" y="52" styleName="myBoldSpark"/>
          <mx:Label x="10" y="77" text="email" styleName="myBold"/>
          <s:TextInput id="email" width="167" x="10" y="95" styleName="myBoldSpark"/>
          <mx:Label x="181" y="77" text="zip" styleName="myBold"/>
          <s:TextInput id="zip" width="48" x="181" y="95" styleName="myBoldSpark"/>
          <local:SubmitButton id="submit_maillist" x="235" y="86" />
     </s:Group>
     <local:MailingListBack id="back" visible="false"/>      

</s:Group>

According to which build, the name of the "cff" property changed to "embedAsCFF.

Alex Harui

Flex SDK Developer

Adobe Systems Inc..

Blog: http://blogs.adobe.com/aharui

Tags: Flex

Similar Questions

Maybe you are looking for

  • Firefox crashes: ID = 6c53dcc4-7ca3-4877-a074-9ed522151003

    Firefox worked fine until this morning. Now it instantly hangs at startup, even in safe mode and even after uninstalling and reinstalling a new copy. I captured several reports of incidents, including the ID = 6c53dcc4-7ca3-4877-a074-9ed522151003 So

  • Disorders of printing HP Deskjet 3520

    Hello Running Win 7 and used to have an all-in-one HP Deskjet 4200. All print very well, but was not really happy with the photos. In any case, recently bought a HP 3520 and am having problems printing. Still using the same computer (Asus) and Micros

  • How can I find the dpi of the iPhoto?

    How can I find the dpi of the iPhoto?

  • Get the Blue error screen when entering Sleep Mode

    Original title: BSOD I get BSOD a few times of the day when my computer enters "sleep".  I guess it is driver related but is unable to identify the culprit. I use BlueScreenView and on some files .dmp lists as the "caused by driver" ntkrnlpa.exe on o

  • HP Pavilion dm4-2165dx: password administrator or power past sur-mot

    I have one enter your administrator password or power on password message and then he gave me a 63623531 code, after three bad attempts. The laptop it displays in Spanish put administrator contrasena o contrasena power led Sistema desactivado [636235