|
From: | Sairam Suresh |
Subject: | [Swftools-common] tip for embedding fonts and modifying text with actionscript |
Date: | Wed, 26 Sep 2007 18:39:08 -0700 |
.flash bbox=420x240
.font helvetica-light "helvetica-light.swf"
.sprite layer1
.action:
this.createTextField("text_1",1,37,41,240,44);
text_1.multiline = false;
text_1.wordWrap = false;
text_1.border = false;
format_1 = new TextFormat();
format_1.align="left";
format_1.font="helvetica-light";
format_1.size=22;
format_1.color = 0xFFFFFF;
text_1.embedFonts = true;
text_1.text = _root.text1;
text_1.setTextFormat(format_1);
.end
.end
.put layer1
.end
[Prev in Thread] | Current Thread | [Next in Thread] |