View Full Version : Pixel Fonts in a movieclip
ak_denver
10-29-2004, 09:02 PM
Howdy.
I am attempting to use pixel fonts in a dynamic text field of a movieclip that scrolls the text field. I know that you cannont embed the text if you are using HTML tags. But, how do I make it so the font will show up properly for every user? For example, the font totally changes (I think it defaults to Times New Roman or something) and looks awful on a computer that does not have that pixel font installed on it.
I'm following all of the rules of pixel fonts, so any help on using them inside a dynamic text field of a movieclip and having it show up on all computers would be great!
Flashloaded
10-29-2004, 09:23 PM
You can embed the fonts, even if you are using HTML text. The main font will be taken from the font that is embedded in the dynamic textfield. In order to use an additional font (for example, the bold version of the font), simply create a second dynamic textfield in an are off stage (where it is not visible) and embed the second font into that textfield. You can then use the HTML font face tag to specify the second font.
For example: <font face="FFF Business Bold">This is bold text</font>
Hope this helps. Feel free to ask if you have any questions.
ak_denver
10-29-2004, 09:35 PM
When I attempt to embed the font, FFF Business, it does not appear when I publish the movie. I embedded the font by double clicking the movie clip, then selecting the dynamic text box, then clicking character and embedding all of the characters that I am using from the list. This is correct, right? It appears if I don't embed it, but when I embed the font it disappears.
Thanks for the help...
tdoublea
10-30-2004, 03:25 AM
you might try opening the library panel and from the right hand drop down, choose New Font. choose the font you want and in the linkage panel (if you right click (apple_click) it in the library or are viewing advanced mode in new symbol) choose export for actionscript.
if tou're not worried about file size click Export for first frame. if you are.. try dropping it on the third frame outside the stage, or making another dynamic textfield outside the stage on the root timeline with some text in it.
if you're trying to see the font in a textfield that is being masked, it's another story.
-t
Flashloaded
10-30-2004, 11:58 PM
You must ensure that you are calling the font by the exact same name in the font face tags in the HTML code.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.