You are going to have to embed the font for it to show up when it is
rotated. To do this you can either create a new Font Symbol in your
library (and set it to export) or create a dynamic TF somewhere on
the stage and embed the font manually.
On Apr 29, 2007, at 9:47 PM, John Trentini wrote:
Hi everyone,
first timer here so am a bit shy.
I am trying to create a text field with dynamic content derived
from, eventually from a php script, but an array at the moment.
The script I used works well if I keep the parent movieClip
horizontal but, the moment thatI rotate it, the text does not
appear. i have tried changing the coordinates with no success so
the question is:
If I want a dynamic text to appear rotated CW 90 C° what do I do it?
This is the script:
var myTxt:Array = new Array("branding","news", "about us","print",
"marks", "contact")
var i = random(myTxt.length);
var lable = myTxt[i];
_root.lable_mc.createTextField("myName",0,484,200,140,408);
myNformat = new TextFormat();
myNformat.font ="Verdana";
myNformat.size = 70;
myNformat.bold = true;
myNformat.color = 0xF5F5F5;
myNformat.align ="center";
_root.lable_mc.myName.text = lable;
_root.lable_mc.myName.setTextFormat(myNformat);
_root.createTextField("mytext",1,430,200,100,30);
mytext.multiline = false;
mytext.wordWrap = false;
mytext.border = false;
myformat = new TextFormat();
myformat.font ="Verdana";
myformat.size = 14 ;
myformat.bold = true;
myformat.color = 0x000066;
myformat.align ="right";
myformat.bullet = false;
//myformat.underline = false;
mytext.text = _root.lable_mc.myName.text;
mytext.setTextFormat(myformat);
Thanks
JohnT ^_^
_______________________________________________
[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
_______________________________________________
[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