home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Freeware / Adobe Air 1.5 / AdobeAIRInstaller.exe / setup.swf / scripts / _macMinButtonStyle.as < prev    next >
Encoding:
Text File  |  2008-10-29  |  1.7 KB  |  46 lines

  1. package
  2. {
  3.    import mx.core.IFlexModuleFactory;
  4.    import mx.styles.CSSStyleDeclaration;
  5.    import mx.styles.StyleManager;
  6.    
  7.    public class _macMinButtonStyle
  8.    {
  9.       private static var _embed_css_mac_min_dis_png_643722405:Class = _macMinButtonStyle__embed_css_mac_min_dis_png_643722405;
  10.       
  11.       private static var _embed_css_mac_min_up_png_521002267:Class = _macMinButtonStyle__embed_css_mac_min_up_png_521002267;
  12.       
  13.       private static var _embed_css_mac_min_over_png_1249372149:Class = _macMinButtonStyle__embed_css_mac_min_over_png_1249372149;
  14.       
  15.       private static var _embed_css_mac_min_down_png_2047936707:Class = _macMinButtonStyle__embed_css_mac_min_down_png_2047936707;
  16.       
  17.       public function _macMinButtonStyle()
  18.       {
  19.          super();
  20.       }
  21.       
  22.       public static function init(param1:IFlexModuleFactory) : void
  23.       {
  24.          var fbs:IFlexModuleFactory = param1;
  25.          var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".macMinButton");
  26.          if(!style)
  27.          {
  28.             style = new CSSStyleDeclaration();
  29.             StyleManager.setStyleDeclaration(".macMinButton",style,false);
  30.          }
  31.          if(style.defaultFactory == null)
  32.          {
  33.             style.defaultFactory = function():void
  34.             {
  35.                this.upSkin = _embed_css_mac_min_up_png_521002267;
  36.                this.overSkin = _embed_css_mac_min_over_png_1249372149;
  37.                this.downSkin = _embed_css_mac_min_down_png_2047936707;
  38.                this.disabledSkin = _embed_css_mac_min_dis_png_643722405;
  39.                this.alpha = 0.5;
  40.             };
  41.          }
  42.       }
  43.    }
  44. }
  45.  
  46.