Do you need the "src" in the css when using an [Embed]? Maybe it's causing the font to not *actually* be embedded? Just taking a stab, I haven't used embedded fonts.
-Josh On Fri, Jun 20, 2008 at 5:05 AM, wyattwang <[EMAIL PROTECTED]> wrote: > > Thanks. Here's the test app: > > <?xml version="1.0"?> > <!-- charts/BubbleRelativeSize.mxml --> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > layout="absolute"> > > <mx:Style> > @font-face{ > src: url("assets/ARIAL.TTF"); /* copy from Windows/fonts/ > folder */ > fontFamily: myArial; > } > > ComboBox { > fontFamily: myArial; > fontSize: 20; > } > </mx:Style> > > > <mx:Script> > <![CDATA[ > import mx.effects.Rotate; > import mx.controls.ComboBox; > import mx.collections.ArrayCollection; > import mx.controls.Image; > import flash.geom.Matrix; > import flash.geom.Point; > > [Bindable] > private var s1:ArrayCollection = new ArrayCollection( [ > {"x": 20, "y": 10, "r":10 }, > {"x": 40, "y": 5, "r":20 } , > {"x": 60, "y": 0, "r":30 }]); > > [Embed("assets/arial.ttf", fontName="MyArial")] > public var myarial_font:Class; > > > private function rotate():void { > cb.rotation = 270; > textinput.rotation = 270; > } > > private function back():void { > cb.rotation = 0; > textinput.rotation = 0; > } > > ]]> > </mx:Script> > > <mx:Button label="rotate" click="rotate()"/> > <mx:Button label="back" click="back()" x="104"/> > > <mx:ComboBox id="cb" dataProvider="{s1}" labelField="x" > textAlign="center" width="131" x="198" y="169" height="33"/> > <mx:TextInput x="446" y="178.95" id="textinput" text="This is a > text" fontFamily="myArial" width="127"/> > > </mx:Application> > > > --- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > > > The internal TextInput doesn't rotate? Post a test case. > > > > > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

