0 Replies Latest reply on Aug 13, 2009 10:07 PM by flex Creek

    About RichEditableText in WindowedApplication

    flex Creek

      hi!

       

      <?xml version="1.0"?>
      <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
              xmlns:mx="library://ns.adobe.com/flex/halo"
              xmlns:s="library://ns.adobe.com/flex/spark"
              showStatusBar="false"
              alwaysInFront="true" width="100%" height="100%"  backgroundColor="#FFFFFF">

          <s:Panel title="RichEditableText Control Example"
                  horizontalCenter="0" verticalCenter="0">
              <s:HGroup left="10" right="10" top="10" bottom="10">
                  <s:RichEditableText  width="344" height="200"  id="txtView" editable="true" enabled="true" fontFamily="Arial">
                      <s:content>
                          <![CDATA[
                               this is default value.中文
                          ]]>
                      </s:content>
                  </s:RichEditableText>
              </s:HGroup>
          </s:Panel>

      </s:WindowedApplication>

       

      I can not input Chinese characters in RichEditableText. But s:Application work well.

       

      Hope someone can help me.Thank you very much.