embedded font won't work in Flex mobile ActionBar

前端 未结 6 1946
一向
一向 2021-02-09 14:51

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

6条回答
  •  野的像风
    2021-02-09 15:04

    I know that Button on Flex 3 had this issue, because its default font was bold, and many people did not think to embed the bold version of the font. Is it possible that the default action bar mobile skin uses bold/italic/something else and that you need to either make your own skin or embed both?

    ===========new stuff below==============

    I don't have FB 4.5 installed on this machine yet, but I think you can right click in the package explorer and select New>Mobile As3 skin (or words to that effect). The dialog will ask you what component you want to select, and you should browse for action bar. I haven't done this (as I haven't needed mobile development yet), but it will probably create an as3 file with most of what you need to get started.

    You'll probably find the code you need to edit in updateDisplayList and it will refer to titleDisplay.

    HTH;

    Amy

提交回复
热议问题