'flash Textarea embead font'에 해당되는 글 1건

  1. 2010/04/26 visualp as 3.0, flash textarea componet embead font
[원문] : http://actionscriptexamples.com/2008/11/26/using-an-embedded-font-with-the-textarea-control-in-flash-with-actionscript-30/






// ActionScript 3.0
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);




2010/04/26 11:43 2010/04/26 11:43
받은 트랙백이 없고, 댓글이 없습니다.

댓글+트랙백 RSS :: http://blog.visualp.com/rss/response/254

댓글+트랙백 ATOM :: http://blog.visualp.com/atom/response/254