To Change Keyboard Event F7 F8 F9
-
I Tried to change keyboard Event in JabberCam.as to have a "Next" event when pressing F9… ( in remplacement of F7) But it doesn't work... Could you please help me to change the code in order to have:
F9 = Next
F8 = Stop
F7 = ReportThanks for your help !
-
private function checkKeyPressed(event : KeyboardEvent) : void {
switch(event.keyCode) {
case Keyboard.F8:
if(this.btnNext.enabled || this.btnNext.visible && !this.btnStop.visible) {
onNext();
}
break;
case Keyboard.F7:
if(this.btnStop.enabled) {
this.onStop();
}
break;
case Keyboard.F9:
if(this.btnReport.enabled) {
this.onReport()
}
break;
}
}Why this code is not applied…???
-
What you mean by not applied?