I can't seem to get rotation to work properly for <mx:Text> (or any other object that has text in it, including containers with text objects in them).
 
I have followed Adobe's advice, and embedded a font. That allows me to rotate text 0-90 degrees clockwise, but anything over 90 degrees, or anything counter-clockwise makes the text disappear. Here's some code:
 
 <mx:Script>
  <![CDATA[
   [Embed(systemFont='Arial', fontName='myArial', mimeType='application/x-font')]
   public var arial:Class;
  ]]>
 </mx:Script>
<mx:Label text="{fishHead.currentItem.fishName}" fontFamily="myArial" rotation="90"/>
 
 
Any suggestions?
 
Shan
__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/2006

Reply via email to