# Rotating dynamic text?

**URL:** <https://forum.kirupa.com/t/rotating-dynamic-text/190115>\
**Category:** Uncategorized\
**Created:** [June 8, 2006, 6:49pm UTC](https://forum.kirupa.com/t/rotating-dynamic-text/190115 "2006-06-08T18:49:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicanor](https://avatars.discourse-cdn.com/v4/letter/n/ea666f/32.png) [@nicanor](https://forum.kirupa.com/u/nicanor)\
**Post date:** [June 8, 2006, 6:49pm UTC](https://forum.kirupa.com/t/rotating-dynamic-text/190115/1 "2006-06-08T18:49:22Z")

</div>

Hi- I’m new to this so probably missing something obvious, apologies. Kirupa taught me all I know…

Ok- so I’m trying to make a dynamic text field which is rotated to 45 degrees.

I found the livedocs explanation

([http://livedocs.macromedia.com/flash/mx2004/main\_7\_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash\_MX\_2004&file=00001808.html](http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00001808.html))

and I’ve tried to make it work, but I cannot.

My code is

stop();  
var my\_fmt:TextFormat = new TextFormat();  
my\_fmt.font = “verd”;  
this.createTextField(“my\_txt”, this.getNextHighestDepth(), 10, 10, 160, 120);  
my\_txt.wordWrap = true;  
my\_txt.embedFonts = true;  
my\_txt.text = “Hello world”;  
my\_txt.setTextFormat(my\_fmt);  
my\_txt.\_rotation = 45;

where ‘verd’ is a font symbol in my library.

Is there a linkage stage I’m missing?

Any help would be greatly appreciated.

cheers!

N
