Flex 3: write multiple characters with a single button (like cellphone keypad where 3 can also be used for D, E, F)

StackOverflow https://stackoverflow.com/questions/9140796

문제

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!

도움이 되었습니까?

해결책

I just implemented you a "start from". Hope this helps you ;)

http://pastie.org/3314957

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top