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

Pergunta

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!

Foi útil?

Solução

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

http://pastie.org/3314957

enter image description here

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top