Note that there are some explanatory texts on larger screens.

plurals
  1. POembedded font won't work in Flex mobile ActionBar
    primarykey
    data
    text
    <p>i've got a few fonts embedded and am using them in my mobile application, and they are all working, except for the ones i try to use for the "ActionBar". They work everywhere else, and substituting <code>"Comic Sans MS"</code> for <code>"titleCGF"</code> changes it to Comic Sans. So why won't it work with my custom fontFamily?</p> <pre><code> &lt;fx:Style&gt; @namespace s "library://ns.adobe.com/flex/spark"; @font-face { src: url("assets/Comic_Book.ttf"); fontFamily: comic; embedAsCFF: false; } /****************************** @font-face{ src: url("assets/CGF_Locust_Resistance.ttf"); fontFamily: titleCGF; embedAsCFF: false; } @font-face{ src: url("assets/CGF_Locust_Resistance.ttf"); fontFamily: titleCGF; embedAsCFF: true; } **********************************/ .titleStyle{ fontFamily: titleCGF; color: #FFFFFF; } .comicMessage{ fontFamily: titleCGF; color: #838689; fontSize: 14; } s|IconItemRenderer{ fontFamily: comic; color: #FEBA03; fontSize:18; } s|ActionBar{ defaultButtonAppearance: beveled; accentColor: #FEBA03; } s|ActionBar #titleDisplay{ fontFamily: "titleCGF"; } &lt;/fx:Style&gt; </code></pre> <p>this is what i get:</p> <p><img src="https://i.stack.imgur.com/asElO.png" alt="FontView"></p> <p>EDIT: i tried to make my own skin, and part of the pre-written code is this:</p> <pre><code>&lt;!-- SkinParts name=titleGroup, type=spark.components.Group, required=false name=actionGroup, type=spark.components.Group, required=false name=navigationGroup, type=spark.components.Group, required=false name=titleDisplay, type=spark.core.IDisplayText, required=false --&gt; </code></pre> <p>when i try to define something like the first three, <code>&lt;s:Group .../&gt;</code>, it works fine. But nothing shows up for spark.core.IDisplayText. ie, <code>&lt;s:IDisplayText .../&gt;</code> yeilds nothing...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload