Comments on: How on Earth do you embed font in CS3 TextArea? Adobe documentation team WTF? https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/ This is a blog from the Nivas.hr crew to the galaxy of unknown. Sun, 20 Dec 2009 02:31:06 +0000 hourly 1 https://wordpress.org/?v=5.8.2 By: laura https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/comment-page-1/#comment-681587 Sun, 20 Dec 2009 02:31:06 +0000 https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/#comment-681587 Thanks Neil!
adding
var myTextAreaTextField:TextField = textArea.textField;
myTextAreaTextField.antiAliasType = AntiAliasType.ADVANCED;
after
var textArea:TextArea = new TextArea();
solves the antialiasing issue too!
Thanks again

]]>
By: Neil https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/comment-page-1/#comment-614435 Tue, 24 Feb 2009 22:58:57 +0000 https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/#comment-614435 http://actionscriptexamples.com/2008/11/26/using-an-embedded-font-with-the-textarea-control-in-flash-with-actionscript-30/

]]>
By: josh >> /dev/blog & » Blog Archive » TextField vs TextArea .. spot the difference https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/comment-page-1/#comment-481125 Tue, 22 Jul 2008 00:31:33 +0000 https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/#comment-481125 […] anyone help? Everywhere I look I see similar problems but no solutions […]

]]>
By: Dave https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/comment-page-1/#comment-409517 Wed, 28 May 2008 00:25:15 +0000 https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/#comment-409517 Hmmmm. Two points – 1) It appears to be AS2 compliant only. (In particular the line StyleManager.setStyle(”styleSheet”, theStyle);)

2) If you apply a stylesheet style to a textarea it becomes noneditable, which is useless for many purposes (including mine!)

So I am still seeking a solution as to how to apply a font color or size or type to a textarea

]]>
By: Jeff Penano https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/comment-page-1/#comment-383713 Fri, 09 May 2008 20:16:31 +0000 https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/#comment-383713 I got it to work.. First I had to extend the TextArea class. Details found at: http://www.gskinner.com/blog/archives/2008/03/adding_css_supp.html

Then my code had:

var theStyle:StyleSheet = new StyleSheet();
var font:Font = new MyFont();

theStyle.setStyle(“body”, {fontFamily:font.fontName, color:”#644724″, fontSize:12});
theStyle.setStyle(“a”, {color:”#0000FF”});
theStyle.setStyle(“a:hover”, {color:”#0000FF”, textDecoration:”underline”});

desc_ta.setStyle(“embedFonts”, true);
desc_ta.setStyle(“styleSheet”, theStyle); // instance

StyleManager.setStyle(“styleSheet”, theStyle);

And BOOM! CSS styled htmlText in a textArea component!

]]>
By: seven https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/comment-page-1/#comment-107992 Mon, 01 Oct 2007 08:09:00 +0000 https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/#comment-107992 Yo C4RL05!!!! LOL! Yes, you still have to hack your way in/out of some situations. I really don’t know how Flex differs in internationalization areas, but I should definitely give it a spin.

I think fellas at Adobe are too busy with plans on how to merge After Effects and Flash, instead of fixing things. Basic things like text rendering for example. :(

]]>
By: C4RL05 https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/comment-page-1/#comment-107841 Sun, 30 Sep 2007 15:38:28 +0000 https://www.nivas.hr/blog/2007/09/29/how-on-earth-do-you-embed-font-in-cs3-textarea/#comment-107841 Flash CS3 is very poorly finished. Not only the docs, but the UI is also slow and buggy. Hope they get their act together and release a patch like they did with MX 2004.

]]>