<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2007/10/10/changing-the-background-color-of-a-disabled-flex-textinput-control/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white" viewSourceURL="srcview/index.html">

    <mx:ApplicationControlBar dock="true">
        <mx:Label text="backgroundDisabledColor:" />
        <mx:ColorPicker id="colorPicker"
                selectedColor="white" />

        <mx:CheckBox id="checkBox"
                label="enabled:"
                labelPlacement="left" />
    </mx:ApplicationControlBar>

    <mx:TextInput text="The quick brown fox"
            backgroundDisabledColor="{colorPicker.selectedColor}"
            enabled="{checkBox.selected}" />

</mx:Application>