v

[ActionScript 3] TextArea embedFonts

· 2011-11-22 (화) 11:10:46 · 2192
import fl.controls.TextArea;

var chaparralProEmbeddedFont:Font = new ChaparralProEmbedded();

var textFormat:TextFormat = new TextFormat();
textFormat.font = chaparralProEmbeddedFont.fontName;
textFormat.size = 32;

var textArea:TextArea = new TextArea();
textArea.setStyle("textFormat", textFormat);
textArea.setStyle("embedFonts", true);
textArea.text = "The quick brown dog jumps over the lazy fox.";
textArea.move(10, 10);
textArea.setSize(300, 200);
addChild(textArea);
|
댓글을 작성하시려면 로그인이 필요합니다.

개발자팁

5,403건

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
jQuery 11-11-30 조회 9,559
PHP 11-11-29 조회 7,187
기타 11-11-29 조회 2,668
Linux 11-11-28 조회 3,481
JavaScript 11-11-28 조회 2,501
Flash 11-11-27 조회 3,450
기타 11-11-26 조회 2,448
JavaScript 11-11-26 조회 2,689
jQuery 11-11-26 조회 4,205
Flash 11-11-25 조회 3,643
JavaScript 11-11-25 조회 2,675
jQuery 11-11-24 조회 9,521
JavaScript 11-11-24 조회 1,905
Flash 11-11-23 조회 2,562
PHP 11-11-23 조회 3,047
PHP 11-11-23 조회 3,780
jQuery 11-11-22 조회 3,091
기타 11-11-22 조회 2,150
PHP 11-11-22 조회 4,963
기타 11-11-22 조회 2,193
Flash 11-11-22 조회 2,342
JavaScript 11-11-22 조회 2,058
PHP 11-11-22 조회 2,870
JavaScript 11-11-22 조회 2,396
jQuery 11-11-22 조회 7,389
PHP 11-11-21 조회 4,336
PHP 11-11-21 조회 2,649
MySQL 11-11-19 조회 5,310
기타 11-11-19 조회 2,973
jQuery 11-11-18 조회 6,078