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>
<![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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
--
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

