<?xml version="1.0" encoding="utf-8"?>
<mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" 
    layout="absolute" 
    width="250" height="150" viewSourceURL="srcview/index.html">
    
  <mx:Style>
    @font-face{
        src:             url("assets/TAHOMA.TTF");
        fontFamily:     "myDefaultFont";
    }
        
    .defaultFont {
        fontFamily:        myDefaultFont;
    }

    Button {
        fontFamily:     myDefaultFont;
        fontSize:        32;
        /* fontWeight:     normal; */        
    }
  </mx:Style>    
    
    <mx:Script>
        <![CDATA[
        
        private function toggleAlpha():void {
            if( btn.alpha == 1 ) {
                btn.alpha = 0.3;
                txt.alpha = 0.3;
            } else {
                btn.alpha = 1.0;
                txt.alpha = 1.0;
            }
        }
        ]]>
    </mx:Script>
    
    <mx:Button id="btn" alpha="0.3" label="Toggle Alpha" click="toggleAlpha();"  x="20" y="10"/>
    <mx:TextArea id="txt" alpha="0.3" styleName="defaultFont" text="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." y="71"  x="10" width="230" height="69"/>

</mx:Application>