[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] font2swf referencing fonts from actionscript

From: Levon Ghazaryan
Subject: [Swftools-common] font2swf referencing fonts from actionscript
Date: Mon, 27 Mar 2006 05:54:30 +0200
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)

Hi list,

is there a way to reference and use the fonts embeded in swf
via font2swf from actionscript?

something like:

$ font2swf myCoolFont.ttf -o myCoolFont.swf

_root.loadMovie('myCoolFont.swf', 1);
_root.createTextField('my_dyn_tf', _root.getNextHighestDepth());

var my_dyn_tf_frm = new TextFormat();
my_dyn_tf_frm.font = 'font_from_swf_file';

my_dyn_tf.text = 'Hi u!';


reply via email to

[Prev in Thread] Current Thread [Next in Thread]