Yeah, I see; if you are stuck with Flash, you might ask some Flash gurus to help modify the flash app to add arrow-controls. That would be the wisest thing. But if I was to guess, I would say to investigate the /dev/kbd stuff.....to intercept the keys....but as
joost warned, you tread on dangerous ground because you may just be creating a keystoke logger on yourself.