<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2008/11/14/setting-the-unfocused-text-selection-color-on-a-fxtextarea-control-in-flex-gumbo/ -->
<Application name="FxTextArea_unfocusedSelectionColor_test"
        xmlns="http://ns.adobe.com/mxml/2009"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"
        viewSourceURL="srcview/index.html">

    <ApplicationControlBar dock="true">
        <Form styleName="plain">
            <FormItem label="unfocusedSelectionColor:">
                <ColorPicker id="colorPicker"
                        selectedColor="#FFFF99" />
            </FormItem>
        </Form>
    </ApplicationControlBar>

    <FxTextArea id="textArea"
            unfocusedSelectionColor="{colorPicker.selectedColor}"
            selectionVisibility="whenActive">
        <content><String source="data/lorem.txt" /></content>
    </FxTextArea>

    <FxTextInput text="Click here to remove FxTextArea focus"
            widthInChars="32" />

</Application>