<fx:Style>
        @namespace s "library://ns.adobe.com/flex/spark";
        @namespace mx "library://ns.adobe.com/flex/halo";
 
        mx|Alert {
            buttonStyleName: alertBtnStyles;
        }
 
        .alertBtnStyles {
       /*当按钮为 emphasized 时(例如,作为容器的默认按钮时)用作按钮外观的类的名称*/ emphasizedSkin: ClassReference("skins.CustomDefaultButtonSkin");
       
/*当按钮为非默认按钮时用作按钮外观的类的名称*/
        skin:ClassReference("skins.CustomDefaultButtonSkin")
        }
    </fx:Style>

相关文章:

  • 2022-12-23
  • 2021-12-01
  • 2021-08-22
  • 2021-07-18
  • 2022-01-29
  • 2022-01-23
  • 2022-02-06
  • 2022-01-23
猜你喜欢
  • 2021-07-07
  • 2022-02-14
  • 2021-05-16
  • 2021-10-31
  • 2021-11-04
  • 2021-12-10
  • 2022-01-29
相关资源
相似解决方案