2010-11-15 23 views
0

J'essaie de changer la couleur d'arrière-plan et l'alpha d'une barre de liens dans une application Flex/Flash 4. Quelles que soient les propriétés que je définis, l'arrière-plan de la barre de liens est toujours blanc. S'il vous plaît voir l'image http://i.stack.imgur.com/PyHs2.png.Flex Spark Link Bar Couleur d'arrière-plan/Alpha

<mx:LinkBar id="lnkBar" backgroundAlpha="0" backgroundColor="black" bottom="0" itemClick="lnkBar_itemClickHandler(event)"> 
      <mx:dataProvider> 
       <s:ArrayCollection> 
        <fx:String>Resource Management</fx:String> 
        <fx:String>Standard Reports</fx:String> 
        <fx:String>Clear Selected State</fx:String> 
       </s:ArrayCollection> 
      </mx:dataProvider> 
     </mx:LinkBar> 

Répondre

5

au lieu de "backgroundAlpha" ou "backgroundColor", utiliser "contentBackgroundAlpha" ou "contentBackgroundColor".