Copy link to clipboard
Copied
Hi I need to rotate dynamic text box, when it rotate then it's text goes unvisible, I need to embed font dynamically I tried this but it dosen't work.
function change_text(event:Event) {
var tf:TextFormat = new TextFormat();
tf.font = new String(font_list.selectedItem.data);
displayer.embedFonts=true
displayer.setTextFormat(tf);
displayer.text = sampletext.text;
}
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi moccamaximum,
this example is only for single font embedding,I want user can change font of dynamic textbox I have load all system fonts from Font.enumerateFonts
and user can use any font.
Copy link to clipboard
Copied
Instead of rotating the TextFiled/Area directly embed it in a sprite movieclip and rotate this.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now