Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flash Builder 4.6。软键盘不工作_Flash_Apache Flex_Air_Flash Builder - Fatal编程技术网

Flash Builder 4.6。软键盘不工作

Flash Builder 4.6。软键盘不工作,flash,apache-flex,air,flash-builder,Flash,Apache Flex,Air,Flash Builder,这是我的文本输入代码 <s:TextInput skinClass="spark.skins.mobile.TextInputSkin" softKeyboardType="contact" needsSoftKeyboard="true" y="98" right="41" width="282" height="39" /> 不工作,有什么问题?只有在使用StageText时,软键板类型值才适用。看起来您正在使用Flex 4.5 TextInput皮肤;它不使用StageT

这是我的文本输入代码

<s:TextInput skinClass="spark.skins.mobile.TextInputSkin" softKeyboardType="contact" needsSoftKeyboard="true" y="98" right="41" width="282" height="39" />


不工作,有什么问题?

只有在使用StageText时,软键板类型值才适用。看起来您正在使用Flex 4.5 TextInput皮肤;它不使用StageText,而是使用Flash文本字段

移动主题的TextInput皮肤使用StyleableStageText 类而不是RichEditableText。因为StyleableStageText使用 本机文本字段它允许更好的文本输入和操作 但是,在移动设备上的体验存在局限性和局限性 你应该考虑的差异。所使用的本机文本控件 StageText在文本周围应用不同的填充。为了避免 垂直滚动时,基于StageText的TextInput外观会尝试 估计这个填充并对其进行补偿。因为这个和 本机文本控件处理文本的其他差异,默认 使用基于StageText的外观的TextInput控件的高度将有所不同 使用基于TextField的TextInput皮肤从其默认高度开始


欢迎使用StackOverflow,通常我建议您量化“不工作”的含义。你有运行时错误吗?还是编译时错误?还是意外的行为?在这种情况下,我想我猜到了,并给出了答案。我们是来帮忙的,不是来猜你有什么问题。