zoukankan      html  css  js  c++  java
  • Flex组件样式

    Application{
        backgroundColors:#000000,#3f3f3f;
        backgroundImage:Embed(source="/style/background.jpg");
        backgroundSize:"100%";
        fontSize:14;
    }
    
    Button{
        upSkin:Embed(source="");//弹起时
        overSkin:Embed(source="");
        downSkin:Embed(source="");
        disabledSkin:Embed(source="");//不可用时的效果
        color:#000000;//字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
    }
    
    ButtonBar{
        buttonStyleName:"buttonBarButton";//设置按钮样式
        firstButtonStyleName:"firstButtonBarButton"//设置第一个按钮样式
        lastButtonStyleName:""
    }
    
    ColorPicker{  //颜色选择器
        disabledSkin:Embed(source="");
        downSkin:Embed(source="");
        overSkin:Embed(source="");
        upSkin:Embed(source="");
    }
    
    ComboBox{  
        downSkin:Embed(source="");
        overSkin:Embed(source="");
        upSkin:Embed(source="");
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
        dropDownStyleName:"dropDown";//设置下拉样式
        highlightAlphas:.5,.8;//设置高光透明度
        fontWeight:normal;//设置字体粗细
    }
    .dropDown{
        backgroundColor:
        backgroundAlpha:.9;
        borderStyle:solid;//设置边框样式
        borderThickness:0;//设置边框宽度
        borderColor:
        roundedCorners:5;//设置圆角度
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
        rollOverColor:#000000;//移至组件时的颜色
    }
    
    DataGrid{  //以表格形式显示数据
        headerStyleName:"dataGridHeader";//标题样式
        headerColors:#,#;  //标题文本颜色
        rollOverColor:
        selectionColor:
        disabledColor:
        selectiondDisabledColor:
        alternatingItemColors:#,#;//改变中的项的颜色
    }
    .dataGridHeader{
        color:
    }
    
    ProgressBar{  //进度条
        barSkin:Embed(source="");//进度条
        trackSkin:Embed(source="");//轨道
    }
    
    Image{
        brokenImageSkin:Embed("");//加载出错时的效果
    }
    
    MenuBar{
        fillColor:  //填充颜色
        backgroundColor:
        backgroundAlpha:
        alpha:  //组件透明度
        textSelectedColor:
    }
    
    RadioButton{  //单选
        disabledIcon:Embed("");
        downIcon:Embed("");
        overIcon:Embed("");
        upIcon:Embed("");
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
    }
    
    CheckBox{  //多选
        disabledIcon:Embed("");
        downIcon:Embed("");
        overIcon:Embed("");
        upIcon:Embed("");
        color:#000000;  //字体
        textRollOverColor:#000000;//移至文本时的颜色
        textSelectedColor:#000000;//选择文本时的颜色
    }
    
    HSlider{  //横向滚动条
        thumbDisabledSkin:Embed(source="");//指针不可用时
        thumbDownSkin:Embed(source="");
        thumbOverSkin:Embed(source="");
        thumbUpSkin:Embed(source="");
        trackHightlightSkin:Embed(source="");//轨道高光效果
        trackSkin:Embed(source="");//轨道效果
    }
    
    TitleWindow{
        closeButtonDisabledSkin:Embed("");
        closeButtonDownSkin:Embed("");
        closeButtonOverSkin:Embed("");
        closeButtonUpSkin:Embed("");
    
    
    }
    

  • 相关阅读:
    9.1、PHP 中的函数
    7.2.2、二维数组中包含自定义键数组的打印
    Windows 8 VHD 概述与使用
    8.2、磁盘、目录和文件计算
    7.2.6、随机取出数组中的某个下标
    7.2.3、数组排序
    7.2.7、数组指针的操作
    CentOS6 下 JDK7 + jBoss AS 7 环境搭建
    How to iterate HashMap using JSTL forEach loop
    windows 8 非内置系统管理员获得完整权限的方法
  • 原文地址:https://www.cnblogs.com/frostbelt/p/1800381.html
Copyright © 2011-2022 走看看