situation
With new spark components, some old ms components are not implemented yet in spark version, or are exist and it is complex in use.benefits
with this ms version of these two components, you allow the user to use a nice editor with format text abilities, and represent this formated text (it is html encoded) using only one property, the htmltext.
Till now in Flex 4 and Spark we have no these two power and easy to use components, we hope Adobe to be reasonable and to do not downgrade us more!
problem
how to add mx:TextArea and mx:RichTextArea in spark application? the mx complents doesn't exist in components palletesolution
open the mxml source code... and insert the two follow lines.
<mx:RichTextEditor x="0" y="50" width="400" height="200"/>
<mx:TextArea x="0" y="210" width="400" height="100" />
these lines are creating the RichTextArea and TextArea on you design place.
No comments:
Post a Comment