# Control tv/projector remote using ascript ala powerpoint

**URL:** <https://forum.kirupa.com/t/control-tv-projector-remote-using-ascript-ala-powerpoint/244955>\
**Category:** flash\
**Created:** [November 24, 2007, 12:56am UTC](https://forum.kirupa.com/t/control-tv-projector-remote-using-ascript-ala-powerpoint/244955 "2007-11-24T00:56:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HIPPY](https://avatars.discourse-cdn.com/v4/letter/h/e480ec/32.png) [@HIPPY](https://forum.kirupa.com/u/HIPPY)\
**Post date:** [November 24, 2007, 12:56am UTC](https://forum.kirupa.com/t/control-tv-projector-remote-using-ascript-ala-powerpoint/244955/1 "2007-11-24T00:56:43Z")

</div>

Hi

I am in the middle of a project creating a slideshow/movie  
presentation to be shown on a projector screen.

Want Flash to control the remote clicker(pointer) buttons using a projector screen ???

I found this attempt, added to an invisible button and Disabled Kyboard Shortcuts but no luck yet.

var keyListener = new Object();  
keyListener.onKeyDown = function () {  
if (Key.isDown(37)) {  
// Left  
updateFrame(-1);  
} else if (Key.isDown(38)) {  
// Up  
updateFrame(-(\_currentframe-1));  
} else if (Key.isDown(39)) {  
// Right  
updateFrame(1);  
} else if (Key.isDown(40)) {  
// Down  
updateFrame(\_totalFrames + 1);  
}  
}  
Key.addListener(keyListener);

Is there a new way I need to use in AS3? I really need to get my hands on a very simple .flv example.

Thankyou
