【问题标题】:error parsing stylesheet in flexflex中的错误解析样式表
【发布时间】:2011-04-21 06:20:46
【问题描述】:

我收到错误“错误解析样式表”这是什么提前感谢您的帮助这是我的代码

<mx:Style>

.friendRendererToolTip
    {
        borderStyle : solid;
        paddingTop : 3;
        borderColor : #003300;
        fontSize : 11;
        paddingLeft : 1;
        backgroundAlpha : 1;
        paddingRight : 12;
        fontWeight : bold;
        height : 33;
        dropShadowEnabled : false;
        color : #FF0000;
        alpha : 1;
        paddingBottom : 3;
    }

    Button
    {
        borderStyle : solid;
        borderColor : #003300;
        color : blue;
        backgroundColor : #FF0000;
        cornerRadius : 0;
        fontSize : 13;
        fillAlphas : [1, 0.31, 1, 1];
    }

    .maincontainer
    {
        borderStyle : solid;
        borderColor : #003300;
        backgroundColor : #FF0000;
        cornerRadius : 5;
        verticalGap : 0;
    }

    .mainheader
    {
        paddingTop : 1;
        verticalAlign : middle;
        paddingLeft : 11;
    }

    global
    {
        color : #003300;
        fontFamily : Tahoma;
        fontSize : 13;
    }

    .cameraSlot
    {
        backgroundColor : #FF0000;
    }

    .maincontent
    {
        paddingLeft : 9;
        paddingRight : 9;
    }

    Label
    {
        color : #FF0000;
        fontSize : 13;
    }

    .sendButton
    {
        cornerRadius : 5;
    }

    ToolTip
    {
        cornerRadius : 0;
    }

    .activityArea
    {
        borderStyle : solid;
        borderColor : #FF0000;
        backgroundColor : #003300;
        disabledColor : #003300;
    }

【问题讨论】:

    标签: apache-flex flex3 flex4 flexbuilder


    【解决方案1】:

    请使用fillAlpha作为

    fillAlphas : 1, 0.31, 1, 1; 
    

    希望有帮助

    【讨论】:

      【解决方案2】:

      Button 中的 fillAlphas 样式不需要方括号。

      这样使用

      fillAlphas : 1, 0.31, 1, 1;
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2021-12-22
        • 1970-01-01
        • 1970-01-01
        • 2015-02-20
        • 1970-01-01
        • 2017-03-16
        • 2017-09-02
        • 2010-10-10
        相关资源
        最近更新 更多