  | |  | Using Fonts from Library | Using Fonts from Library
2004-02-20 - By Saravanakumar M
Back Hi Flash Coders,
I am using a font by name Helvitica. That font is not available in
my machines ' fonts directory. But I am having that font in my Flash MX 2004
Library. I am trying to use that font for all my Flash documents. Also, I
am using style sheets to embed my Helvitica Font using the following syntax.
lblStyleObj = _global.styles.Label = new
mx.styles.CSSStyleDeclaration();
lblStyleObj.color = "0x626262 ";
lblStyleObj.fontFamily = "Helvitica ";
lblStyleObj.fontSize = 13;
lblStyleObj.embedFonts = true;
In the above statements, wherever I see labels/headers, I will apply the
style sheet to refer as lblStyleObj.
Remember, this font need not be available/installed in others ' machine.
When I export my movie as swf, the statement embedFonts = true should/must
make sure my Helvitica font is used from the swf. Any suggestions/solutions
plz throw some light on this.
****************************************************************************
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message. Any
unauthorised review, use, disclosure, dissemination, forwarding, printing or
copying of this email or any action taken in reliance on this e-mail is
strictly prohibited and may be unlawful.
Visit us @ http://www.masconit.com
****************************************************************************
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104824
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |