jim@omedia
12-21-2004, 09:32 PM
I have been trying to embed a font in a Text Area object (not a text field, I know how to do that).
1. My component is named mytext0.
2. I have created a new font in my library. It is Impact. I set the linkage to "Export for ActionScript" and name the identifier as impact. I am not clicking "Export for runtime Sharing" because I have no idea what that is for, also not filling in anything fro AS 2.0 Class.
3. I run this script:
mytext0.text ="this is really fun";
mytext0.setStyle("fontSize", "24");
mytext0.setStyle("color", "0xff2366");
mytext0.setStyle("fontFamily", "impact");
mytext0.setStyle("embedFonts", "true");
stop();
IT WORKS GREAT!!!!
Then I run it on a computer that does not have Impact installed and the font face shows up as arial or similar.
Why??? Does it have to do with "Export for runtime Sharing" check box in the font linkage? Anybody???
1. My component is named mytext0.
2. I have created a new font in my library. It is Impact. I set the linkage to "Export for ActionScript" and name the identifier as impact. I am not clicking "Export for runtime Sharing" because I have no idea what that is for, also not filling in anything fro AS 2.0 Class.
3. I run this script:
mytext0.text ="this is really fun";
mytext0.setStyle("fontSize", "24");
mytext0.setStyle("color", "0xff2366");
mytext0.setStyle("fontFamily", "impact");
mytext0.setStyle("embedFonts", "true");
stop();
IT WORKS GREAT!!!!
Then I run it on a computer that does not have Impact installed and the font face shows up as arial or similar.
Why??? Does it have to do with "Export for runtime Sharing" check box in the font linkage? Anybody???