在操作脚本 3 中通过 4 个文本输入框进行 Tab 键切换时出现问题
我希望有人有耐心看看这个......
我有一个Flash表单,需要为表单中的四个文本输入框设置Tab键顺序。
这四个框被命名:
name_txt
surname_txt
email_txt
phone_txt
每个框都是通用文本输入框组件的一个实例。
当用户将注意力集中在 name_txt 上并点击选项卡时,焦点会
再次跳转到 email_txt 并点击选项卡,然后焦点完全消失。
将焦点放在 surname_txt 上,然后按 Tab 键,焦点会跳转到phone_txt - 再次按 Tab 键焦点就会消失。
文本输入字段嵌套在影片剪辑中,而影片剪辑又嵌套在主舞台上的影片剪辑中。
任何有关如何设置选项卡顺序的线索将不胜感激,
提前一百万致谢!
I hope someone has the patience to look at this.....
I have a flash form and need to set a tabbing order for the four textinput boxes in the form.
The four boxes are named:
name_txt
surname_txt
email_txt
phone_txt
Each box is an instance of a generic textinput box component
At the moment when a use is focussed on name_txt and hits tab the focus jumps to email_txt
hit tab again and focus disappears altogether.
Focus on surname_txt then hit tab and focus jumps to phone_txt - tab again focus disappears.
The textinput fields are nest within a movie clip which in turn is nested in a movie clip which on the main stage.
any clues as to how to how to set the tabbing order would be greatly appreciated
A million thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要连续设置文本字段的 tabIndex 属性...我建议您阅读文档,因为它在 AS3 中非常独特:
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/InteractiveObject.html#tabIndex
You need to set the tabIndex property of your textfields secuentially... I suggest you read the documentation as it is quite unique in AS3:
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/InteractiveObject.html#tabIndex