This content has been marked as final. Show 5 replies
The TextArea component of a RTE is accessible. You could set the TextArea non-editible:
rte.textArea.editable = false;
<mx:RichTextEditor id="rte" />
Which version of Flex Builder are you using?
I've got 3.0.194161, and it shows the textArea.Editable property as being an error. And it doesn't compile of course.
I have 3.0.214193 and the following works:
That's the fix.
I upgraded my Flex Builder to the same version and now the TextArea.Editable property works.
There should be a better system for telling us when an upgrade is available. Maybe one of the catagories on the forum.
Actually the rte editable sort of worked.
But it was because I was using a TabNavigator with one rte on each tab. I have eight rtes, and only the first one would work for setting the editable property - the others would just fail. It took a lot of searching to find that only the first tab really exists before the user clicks on it. (This also applies to accordians or other viewStack controls)
You need to use creationPolicy="all" to make it instantiate all the other tabs before you can progamatically set anything on them.