In our full iOS application (built with the AIR SDK), our use of 
spark.components.TextArea is preventing certain characters from being echoed 
(i.e. numbers).
I attempted to build a simple application with a TextArea component, and it 
works fine with Adobe FLEX 4.6 SDK w/ AIR 31.
With Apache Flex 4.16.1 (and AIR 31), the view does not render.
I am left with some questions:

  1.  Might this be an issue with the FLEX SDK (vs. the AIR SDK)? Given that 
assumption, I went ahead and filed a FLEX SDK bug: 
https://issues.apache.org/jira/browse/FLEX-35395
  2.  If I just need a working version of the FLEX SDK, can I just bundle an 
old version of the FLEX w/ a new version of the AIR SDK? My sample app wasn’t 
working with that configuration (no view shown), and my full application wasn’t 
building (compile errors with missing or incompatible spark components etc.).
  3.  Aren’t there other alternatives to TextArea that I could use, perhaps 
these:
     *   
mx.controls<https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/package-detail.html>.TextArea:
 
https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/TextArea.html
     *   
fl.controls<https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/controls/package-detail.html>.TextArea:
 
https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/controls/TextArea.html

Sincerely,
Chuck Doucette

<?xml version="1.0" encoding="utf-8"?>
<!-- mobile_text/views/SimpleTextArea.mxml -->
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009";
                xmlns:s="library://ns.adobe.com/flex/spark"
                xmlns:mx="library://ns.adobe.com/flex/mx"
                title="Simple TextArea">
        <fx:Declarations>
                <!-- Place non-visual elements (e.g., services, value objects) 
here -->
        </fx:Declarations>
        
        <s:layout>
                <s:VerticalLayout/>
        </s:layout>
        <fx:Script>
                <![CDATA[
                        // Note the use of \n to add line feeds/carriage returns
                        // and \" to add quotation marks.
                        [Bindable]
                        public var myText:String ="Lorem ipsum dolor sit amet, 
consectetuer adipiscing \
                        elit, sed diam nonummy nibh euismod tincidunt ut 
laoreet dolore magna aliquam erat \
                        volutpat.\"\n\n\"Ut wisi enim ad minim veniam, quis 
nostrud exerci tation ullamcorper suscipit \
                        lobortis nisl ut aliquip ex ea commodo consequat.";
                ]]>
        </fx:Script>
        
        <!-- Basic TextArea control with multiple lines of text. -->
        <s:TextArea id="myTA" height="75%" text="{myText}"
                                paddingLeft="20" paddingTop="20"
                                paddingRight="20" paddingBottom="20"/>
        
</s:View>

Attachment: Main-app.xml
Description: Main-app.xml

<?xml version="1.0" encoding="utf-8"?>
<s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"; 
                                                        
xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.MainHomeView" 
applicationDPI="160">
        <fx:Declarations>
                <!-- Place non-visual elements (e.g., services, value objects) 
here -->
        </fx:Declarations>
</s:ViewNavigatorApplication>

Reply via email to