开发者

error parsing stylesheet in flex

开发者 https://www.devze.com 2023-02-28 07:17 出处:网络
i Am getting error \"error parsing stylesheet\" what it is thanks for help in advance this is my code

i Am getting error "error parsing stylesheet" what it is thanks for help in advance this is my code

<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;
    }


Please use fillAlpha as

fillAlphas : 1, 0.31, 1, 1; 

hopes that helps


Square brackets not needed for fillAlphas style in Button.

Use like this

fillAlphas : 1, 0.31, 1, 1;
0

精彩评论

暂无评论...
验证码 换一张
取 消