Why does the following give me back times roman... I'm using a 
UITextField or I was just use a stylesheet setting.   Please help..   I 
need to find out why these details don't work for me.

Thanks


               
       [Embed(source='../assets/trebuc.ttf',
        fontName='tres',
        mimeType='application/x-font' )]
        private var font1:Class;


         [Embed(source='../assets/trebucbd.ttf',
        fontWeight='bold',
        fontName='tresbold',
        mimeType='application/x-font',
        flashType='true'
         )]
         private var font2:Class;
    

                var formatter:TextFormat = new TextFormat();
                formatter.bold = true;
                formatter.color = "0xFFFFFF";
               // formatter.font = "arial";
                formatter.font = "tres_bold";
                formatter.size = "20";
                percent.setTextFormat(formatter);
                percent.filters = [new 
DropShadowFilter(2,45,0x00,1,4,2,.3)];
                
                myUIComponent.addChild(_sprite);
                _sprite.addChild(percent);

Reply via email to