0 Replies Latest reply on Apr 28, 2015 5:37 PM by lostinthecloud

    Why am I getting "Error: Access of undefined property TextInputSkin." and "Error: Definition spark.skins.mobile:TextInputSkin could not be found." errors?

    lostinthecloud

      I'm using amxmlc to build a SWF from an MXML source code file. I'm passing -swf-version=13 to amxmlc.

       

      In the MXML source, I have the following line:

       

      <s:TextArea id="inputTextArea" width="100%" height="100" fontSize="28" borderColor="#000000" skinClass="spark.skins.mobile.TextInputSkin" />

       

      I get these errors when running the amxmlc command:

       

      ...App.mxml(428):  Error: Access of undefined property TextInputSkin.

       

                  <s:TextArea id="inputTextArea" width="100%" height="100" fontSize="28" borderColor="#000000" skinClass="spark.skins.mobile.TextInputSkin" />

       

      ...App.mxml(428):  Error: Definition spark.skins.mobile:TextInputSkin could not be found.

       

                  <s:TextArea id="inputTextArea" width="100%" height="100" fontSize="28" borderColor="#000000" skinClass="spark.skins.mobile.TextInputSkin" />

       

      Why am I getting these errors? I need to be able to use the spark.skins.mobile.TextInputSkin in order to have use of the soft keyboard on iOS devices.