# Multiplayer on 1 keyboard woes

**URL:** https://forum.kirupa.com/t/multiplayer-on-1-keyboard-woes/104940
**Category:** Uncategorized
**Created:** [March 21, 2004, 6:13am UTC](https://forum.kirupa.com/t/multiplayer-on-1-keyboard-woes/104940 "2004-03-21T06:13:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dr\_ew](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@dr\_ew](https://forum.kirupa.com/u/dr_ew)
#### Post date: [March 21, 2004, 6:13am UTC](https://forum.kirupa.com/t/multiplayer-on-1-keyboard-woes/104940/1 "2004-03-21T06:13:15Z")

</div>

Hi,  
I am currently trying to make a 3 player (on 1 keyboard) trivia game. I am having lots of problems. from working out the logic of gameplay, to implementing it. One current prob we are having is with the buzz-in. Basically, what i’d like to do is have multiple choice questions posed, and then a buss in period where users can buzz in, and gain ‘control’ of the game, followed by a frame where they can choose their answer. I thought this would work, but I can’t seem to make it do so: I have an mc, mcBuzz, with 2 frames. On the first frame is an empty clip, with this AS attached to it.  
[AS]onClipEvent(keyDown) {  
if(Key.isDown(81)){  
\_root.who=1;  
\_root.mcBuzz.gotoAndStop(2);  
\_root.mcBuzz.p1State.gotoAndPlay(2);  
}  
else if(Key.isDown(72)){  
\_root.who=2;  
\_root.mcBuzz.gotoAndPlay(2);  
\_root.mcBuzz.p2State.gotoAndPlay(2);  
}  
else if(Key.isDown(80)){  
\_root.who=3;  
\_root.mcBuzz.gotoAndPlay(2);  
\_root.mcBuzz.p3State.gotoAndPlay(2);  
}  
}[/AS]  
the second frame does not have this clip with this code. (so that when 1 person buzzes in, others can no longer buzz in) On the second frame i will place other keypresses (1-3) for each possible answer that will determine if they are right or wrong, assign pts etc…  
On both frames of mcBuzz are 3 other clips that provide feedback for each player: p1State, p2State, p3State. Each of these clips have 4 stages: blank, buzzed in, wrong, right.

Anyway, this is not working at all. I’ve traced my clips, and they are defined and ok, but they arent affected by the keypresses (q, h p if ur curious). What am I doing wrong here? I’m starting to dread my choice of a multiplayer game for a term project, hehe. =]  
Any advice or suggestions would be greatly appreciated!

thanks=]
