在操作脚本 3 中通过 4 个文本输入框进行 Tab 键切换时出现问题

发布于 2024-07-29 19:53:51 字数 454 浏览 4 评论 0原文

我希望有人有耐心看看这个......

我有一个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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绅士风度i 2024-08-05 19:53:51

您需要连续设置文本字段的 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文