i'm writing a jsfl to change all textfields to an imported font, and i know how to change font face of textfield from this question JSFL - How to change the font of a text field?
the problem is that, i can change the font into an installed font, but i can not change it into an imported font named $NormalFont
,here are some screen shot which may make me understood.
below is the property of $NormalFont
so in my code, i call the function like this:
textElement.setTextAttr("face", "$NormalFont");
nothing changed. but i do can manually change the text font like below:
and i notice that here the name of the font is $NormalFont*
,with a star.
so i call the function like this:
textElement.setTextAttr("face", "$NormalFont*");
nothing changed again.
anyone can help me? because i have over 100 fla files to change...