On Apr 6, 2007, at 10:06 AM, leolea wrote:
Try adding:
mytext.embedFonts = true;
Also, put an empty dynamic textfield (offstage), select the font
"mysilkscreen" and embed the characters you need.
Should do it.
I always thought adding a textfield to the stage was absurd so I've
created a movieclip with a textfield and then added a linkage id to
that. The textfield needn't be wide or tall.
then instead of createTextField just do attachMovie:
var tb1:MovieClip = this.attachMovie('mytextbox_mc', tb1,
this.getNextHighestDepth());
tb1.text_tf._width = 200;
tb1.text_tf.multiline = true;
tb1.text_tf.wordWrap = true;
tb1.text_tf.autoSize = true;
tb1.text_tf.text = 'Maecenas pellentesque cursus est. ...';
tb1._x = 300;
tb1._y = 100;
I never had to apply TextFormat but I suspect it shouldn't be a problem.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com