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/9034568

Question

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!

Was it helpful?

Solution

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

http://pastie.org/3314957

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top