Flex 3:用一个按钮写入多个字符(就像手机键盘一样,3也可以用于D、E、F)
我正在实现一个小键盘,单击按钮会将相应的字符添加到文本输入中。然而,有些按键应该用于插入多个字符,例如手机键盘,其中按钮“3”也可以用于插入“D”、“E”或F。 哪种方法是实现这一目标的最佳方法?我对 Flex 还不太有经验。
提前致谢!
I'm implementing a small keypad where the click on a button will add the respective character to a text input. However, some keys should be used to insert more than on character, like a cellphone keypad where the button "3" can also be used to insert "D", "E" or F.
Which would be the best approach to accomplish this? I'm not very experienced yet with Flex.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我刚刚为你实现了一个“从开始”。希望这对您有帮助;)
http://pastie.org/3314957
I just implemented you a "start from". Hope this helps you ;)
http://pastie.org/3314957