2011-04-21 3 views
0

Je reçois une erreur "erreur d'analyse stylesheet" ce qu'il est grâce à une aide à l'avance c'est mon codeerreur stylesheet d'analyse syntaxique flex

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

Répondre

1

S'il vous plaît utiliser fillAlpha comme

fillAlphas : 1, 0.31, 1, 1; 

espère que cela aide

0

Les crochets ne sont pas nécessaires pour le style remplissageAlphas dans Button.

Utilisez comme cette

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

oui copain merci pour l'aide –