我使用amxmlc从MXML源代码文件构建SWF。我将-swf-version=13传递给amxmlc。
在MXML源代码中,我有下面一行代码:
<s:TextArea id="inputTextArea" width="100%" height="100" fontSize="28" borderColor="#000000" skinClass="spark.skins.mobile.TextInputSkin" />运行amxmlc命令时,我收到以下错误:
...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" />为什么我会收到这些错误?为了在iOS设备上使用软键盘,我需要能够使用spark.skins.mobile.TextInputSkin。
发布于 2015-05-04 22:37:03
在我看来,其中一个Spark库丢失了。
https://stackoverflow.com/questions/29951645
复制相似问题