PDA

View Full Version : can i use pixel as font size code in flash


sploog
06-18-2003, 01:44 AM
i did this scroller

http://www.actionscripts.org/tutorials/intermediate/scrolling_a_text_box_II/index.shtml

for font sizes i used 10px for instance. it works fine for me but when viewed on a Windows machine it doesn't seem to work. also the windows machine doesn't recognize the bold tags, weird

mvhall
06-18-2003, 06:40 AM
Hi sploog,
Have you tried to embed the font?
If you don't embed the machine where the swf plays tries to take the default font when it can't find it. So if you want your special font (which you have installed on your PC) to display on any machine you should include it in your fla.
Open your Library (Ctrl + L) on the right top click on the white icon, and choose new font. After you have chosen en OK, give it a reference name, mypixfont or something. You can choose this font now in any text box, or when using MX in dynamically created textboxes.
Hope it helps,

sploog
06-19-2003, 11:16 PM
i'm just using helvetica, verdana, arial as fonts but maybe i should try this and embed helvetica since PC don't have that font usually

i'll give it a try and get back to you, remebr i'm a newbie :D