Semplicemente utilizzando l'evento apposito come in questo esempio:

onClipEvent (enterFrame) {
if (Key.isDown (Key.RIGHT)) {
getURL("http://www.sito.it");
} else if (Key.isDown (Key.LEFT)) {
getURL("http://www.sito2.it");
}
}

l'unica cosa è che devi sapere come vengono chiamati i tasti.