# Rotate Dynamic TXT with embed font not working

**URL:** https://forum.kirupa.com/t/rotate-dynamic-txt-with-embed-font-not-working/245621
**Category:** flash
**Created:** [December 1, 2007, 11:07pm UTC](https://forum.kirupa.com/t/rotate-dynamic-txt-with-embed-font-not-working/245621 "2007-12-01T23:07:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mr\_n00](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mr\_n00](https://forum.kirupa.com/u/mr_n00)
#### Post date: [December 1, 2007, 11:07pm UTC](https://forum.kirupa.com/t/rotate-dynamic-txt-with-embed-font-not-working/245621/1 "2007-12-01T23:07:48Z")

</div>

Hi, folks,  
i am trying to rotate some dynamic text and nothing was being displayed.

I did some research before posting, and i found out that u have to embed the font before rotating…  
I did that and still nothing. Actually when i pass my mouse on the screen i see the cursor change when on top of the text… but i still can’t see nothing…  
And, worse, when i just put the embed (whitout the rotation) the text disapear…

any help around?  
Here’s my piece of code:

createTextField(“pct\_txt”, 3, 450, 400, 200, 200);  
pct\_txt.embedFonts = true;  
pct\_txt.\_rotation = 90;  
var tf:TextFormat = new TextFormat();  
tf.align = “center”;  
tf.size =30;  
tf.font = “\_sans”;  
tf.bold = true;  
tf.color = 0xffffff;  
pct\_txt.setNewTextFormat(tf);
