# Flash interface using remote control

**URL:** <https://forum.kirupa.com/t/flash-interface-using-remote-control/148675>\
**Category:** flash\
**Created:** [May 22, 2005, 1:06pm UTC](https://forum.kirupa.com/t/flash-interface-using-remote-control/148675 "2005-05-22T13:06:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kieserr](https://avatars.discourse-cdn.com/v4/letter/k/da6949/32.png) [@kieserr](https://forum.kirupa.com/u/kieserr)\
**Post date:** [May 22, 2005, 1:06pm UTC](https://forum.kirupa.com/t/flash-interface-using-remote-control/148675/1 "2005-05-22T13:06:17Z")

</div>

Im using an ATI Remote Wonder, and tried using this actionscript:

onClipEvent (keyDown) {  
if (key.getCode()==34) {  
\_root.output = “The Control key is down!”;  
} else {  
\_root.output = “Not down!”;  
}  
}

to assign keycodes for the remote control. Problem is, the up,down,left and right dont seem to work. Also tried this actionscript but it only recognizes number codes and thats it.

onClipEvent(keyUp) {  
trace(Key.getCode());  
}

What am i doing wrong? Is there something i missed? We are planning on presenting a prototype interface of an interactive TV, so remote control will be the only device that will explore the interactive interface.(no mouse and keyboards here)

Thanks
