2 Replies Latest reply on Jun 18, 2009 5:25 AM by NadirHamburg

    Why is it not red ?

    NadirHamburg


      I want to mark the selected items in a datagrid in red, but it doesn't work. The red is way to light Why ?

       

       

      <?xml version="1.0" encoding="utf-8"?>
      <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="200" height="200">
         
          <mx:Script>
              <![CDATA[
                  [Bindable]
                  private var XMLData:XMLList = new XMLList("<th>Zeile 1</th><th>Zeile 2</th><th>Zeile 3</th>");           
              ]]>
          </mx:Script>
         
          <mx:DataGrid width="100%" height="100%" dataProvider="{XMLData}" themeColor="#ff0000" alpha="1.0" color="#ffffff" alternatingItemColors="#0,#0">
             
          </mx:DataGrid>
         
          <mx:Button fillAlphas="[1.0, 1.0, 1.0, 1.0]" fillColors="[#ff0000, #ff0000]" label="Button">
             
          </mx:Button>   
      </mx:WindowedApplication>