Flash in mobile phones

I was just looking around at flash mx 2004 and i noticed the mobile devices section, i persume this is were people make flash games n stuff for phones?

But i was wondering how exacly you would do that, because in normal games, you would do stuff like:on(keyPress “<Left>”) and so on, but you cant really do that on a phone? can you?? How do u tell it if some one pressed something like the number6 an action would occur?

any ideas?