Re: arrow keys with SWFBUTTON_KEYPRESS ?
Rcom Developers <[email protected]> Thu, 13 Nov 2003 18:22:04 -0800
| Newsgroups | gmane.comp.web.ming.general |
|---|---|
| Message-ID | <[email protected]> |
Try "Key.LEFT" There is a whole Key Object that you should be able to take advantage up for trapping keypresses (this will work for flash 5 and above). Brandon ----- Brandon Dove Designer/Developer www.rcometworks.com [email protected] On Nov 13, 2003, at 5:01 PM, Rog wrote: > I'm writing a chat app and I wanted to have some history for what the > user has typed and tie that to the arrow keys, but ugh... I've looked > at all sorts of ASCII charts and I can't seem to figure out the > correct character(s) to place into SWFBUTTON_KEYPRESS to trap the > arrow keys for this. > > For instance, trapping any printable key is obviously dead easy, and > things like the Enter key shows up in ASCII charts so > SWFBUTTON_KEYPRESS(chr(13)) works there (or alternatively > SWFBUTTON_KEYPRESS("\n")). I've even found some octal escape sequences > (SWFBUTTON_KEYPRESS("\x3E")) works for <). > > Anyway, long post for a really simple thing: does anyone know the > usuable escape sequences representing arrow keys? > -- > [email protected] (Rogdor) > > _______________________________________________ > ming-fun mailing list > [email protected] > http://www.opaque.net/mailman/listinfo/ming-fun > _______________________________________________ ming-fun mailing list [email protected] http://www.opaque.net/mailman/listinfo/ming-fun