<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2007/12/31/toggling-the-control-bar-in-a-flex-richtexteditor-control-redux/ -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
		layout="vertical"
		verticalAlign="middle"
		backgroundColor="white" viewSourceURL="srcview/index.html">

	<mx:RichTextEditor id="richTextEditor"
			title="RichTextEditor"
			status="version {richTextEditor.getStyle('version')}"
			showControlBar="false"
			cornerRadius="0"
			width="100%"
			height="100%"
			rollOut="richTextEditor.showControlBar = false;"
			rollOver="richTextEditor.showControlBar = true;" />

	<mx:Label text="Roll over the RichTextEditor control above to toggle the control bar." />

</mx:Application>

