2011-04-18 52 views
1

我在xxml應用程序中包含了css代碼,但即時通訊錯誤解析樣式表c:\ path \ demo \ src \ demo.xxml下面是我的代碼感謝提前幫助錯誤解析樣式表c:\ path demo src demo.xxml在flex中

<mx:Style> 
    .friendRendererToolTip 
    { 
     borderStyle : errorTipAbove; 
     paddingTop : 3; 
     borderColor : 0; 
     fontSize : 11; 
     paddingLeft : 1; 
     backgroundAlpha : 1; 
     paddingRight : 12; 
     fontWeight : bold; 
     height : 33; 
     dropShadowEnabled : false; 
     color : 16777215; 
     alpha : 1; 
     paddingBottom : 3; 
    } 

    Button 
    { 
     borderStyle : solid; 
     borderColor : 5661305; 
     color : 0; 
     backgroundColor : 14540253; 
     cornerRadius : 0; 
     fontSize : 13; 
     fillAlphas : [1, 0.31, 1, 1]; 
    } 

    .maincontainer 
    { 
     borderStyle : solid; 
     borderColor : 6453933; 
     backgroundColor : 15593460; 
     cornerRadius : 5; 
     verticalGap : 0; 
    } 

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

    global 
    { 
     color : 0; 
     fontFamily : Tahoma; 
     fontSize : 13; 
    } 

    .1Slot 
    { 
     backgroundColor : 16777215; 
    } 

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

    Label 
    { 
     color : 0; 
     fontSize : 13; 
    } 

    .yButton 
    { 
     cornerRadius : 5; 
    } 

    ToolTip 
    { 
     cornerRadius : 0; 
    } 

    .activityArea 
    { 
     borderStyle : solid; 
     borderColor : 10859729; 
     backgroundColor : 16777215; 
     disabledColor : 15987699; 
    } 
</mx:Style> 
+0

你有什麼特別的錯誤?請粘貼在這裏。 – Constantiner 2011-04-18 14:24:09

回答

1

您需要用<![CDATA[]]>包裝您的款式。 errorTipAbove不存在。所有顏色格式不正確,請使用#RRGGBB十六進制格式。我能看到的就是這些。嘗試刪除/註釋行,直到你看到它的工作。