I think you should use someLabel.rotation=90; instead of soneLabel.rotate=90;
If this post answers your question or helps, please kindly mark it as such.
We need to embed font when we want to rotate a text/label. But just setting the font name isnt same as embedding it.
Try like this:
* Embed a font by name.
private var font1:Class;
<mx:Label styleName="mystyle1" text="Some Text" rotation="15" />
Also, its the rotation property which needs to be set (not rotate)
From that snippet, in Flex 4 you would need to speicfy embedAsCFF=false in
the Embed tag if you are using mx:Label and TextField
yeah, it should be .rotation ... my mistake - but that doiesnt solve it.
I have to rotate in pure AS3 not mxml.
Embedding seems to work, as I can see by getting a true out of this, as I mentioned before:
If you have embedded the wrong embedAsCFF format then it wont work.
TextField needs embedAsCFF=false, FTE needs embedAsCFF=true
but i am using a label as i wrote!?
and even for textfield theres no such option setter!!
i am using felx 3 btw!
and if i want to add the TextField to the canvas, i get an excpection - flash.text::TextField@ cannot covert to UIComponent
please someone, I still didnt fix t!
What does the embedding code look like now? Is it specifying