<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2009/01/05/setting-a-symbol-color-on-an-fxtextarea-control-in-flex-gumbo/ -->
<Application name="FxTextArea_symbolColor_test"
        xmlns="http://ns.adobe.com/mxml/2009"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white">

    <Script>
        <![CDATA[
            import mx.events.ColorPickerEvent;

            private function colorPicker_change(evt:ColorPickerEvent):void {
                textArea.setStyle("symbolColor", evt.color);
            }
        ]]>
    </Script>

    <ApplicationControlBar dock="true">
        <Form styleName="plain">
            <FormItem label="symbolColor:">
                <ColorPicker id="colorPicker"
                        change="colorPicker_change(event);" />
            </FormItem>
        </Form>
    </ApplicationControlBar>

    <FxTextArea id="textArea"
            width="100%"
            height="100%">
        <text><String source="data/lorem.txt" /></text>
    </FxTextArea>

</Application>