Vossler, not sure exactly what the issue is, but I wanted to point out that you can remove the "Font.registerFont()" statement, as this isn't needed if you aren't loading the font dynamically. You can also remove the Embed statements, as this embedding is already done in the Style block. -Brian
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vossler Tsao Sent: Monday, November 27, 2006 2:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] rotated text filed can type in multu-language ? Hi flexcoders I am struggle with problem couple days, still don't work out. Is the text field can deal with (type in) any multi-language such japance or chinese word. I tried to replace fonts and encoding, still in vain. here is the codes , flex mxml file ################################################## <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> " initialize="Font.registerFont(arial_font);"> <mx:Script> <![CDATA[ import flash.text.Font; [Embed("assets/arial.ttf", fontName="MyFont")] public var arial_font:Class; ]]> </mx:Script> <mx:Style> @font-face { src:url("assets/arial.ttf"); font-family: MyFont; } @font-face { src:url("assets/arialbd.ttf"); font-family: MyFont; font-weight: bold; } </mx:Style> <mx:Panel title="text" width="423" height="262"> <mx:Button id="rotationButton" label="25" fontFamily="MyFont" rotation="-25"/> <mx:Label id="rotationLabel" text="test" fontFamily="MyFont" rotation="-25" height="58" width="63"/> <mx:TextInput id="rotationtextfiles" text="test" fontFamily="MyFont" rotation="-25" height="20" width="230"/> </mx:Panel> </mx:Application>