2011-04-21 201 views
0

我收到錯誤「錯誤解析樣式表」它是什麼,感謝您的幫助提前,這是我的代碼錯誤解析樣式表

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

回答

1

請使用fillAlpha作爲

fillAlphas : 1, 0.31, 1, 1; 

希望可以幫助

0

Button中fillAlphas樣式不需要方括號。

使用此

fillAlphas : 1, 0.31, 1, 1; 
+0

是好友感謝幫助像 – 2011-04-21 07:12:37