You'll have to embed the font to make this work:

<mx:Style>
@font-face {
src: url("Arial.ttf");
fontFamily: foo;
}
</mx:Style>

<mx:Label fontFamily="foo" creationComplete="event.target._rotation =45"/>

Dirk.

-----Original Message-----
From: Doug Coning [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005 3:04 PM
To: [email protected]
Subject: [flexcoders] Rotate Label???


Is there a way to rotate a label?

When I use the following:

<mx:Label text="My Label" _rotation="90"/>
                        
I don't get a compiile error, but nor does my label appear...

Thanks,

Doug Coning 
Software Developer
FORUM Solutions, LLC


This e-mail and any attachment(s) are intended for the specified recipient(s) 
only and are legally protected. If you have received this communicationin 
error, please "reply to" sender's e-mail address with notification of the error 
and then destroy this message in all electronic and physical forms.  



Yahoo! Groups Links

To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
  
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


Reply via email to