AS3 Game Bug: Two actions happening simultaneously

Hey:

I have an AS3 Game. All seems to work fine except right at the end.

If you click the last remaining mc to win the game, it runs a function to determine that you have done so. While that is happening another mc (which when clicked enters you into a bonus round) appears and you click that.

Before Flash can determine weather you won or not, you have entered the bonus round. However, you won, so now the winning screen/music, etc pops up at the same time.

This is potentially a large problem as the game will speed up in proceeding levels. So the time it takes to calculate that you won, you may have clicked two or three more mcs…

Here is how it traces:

//animate the mc
animateEmployee

//hit - traces if the endGame num is reached from the previous - then recalculates adding this hit
endGame = false

//animate next mc
animateEmployee

//hit  - again traces to see if the endGame num is reached
endGame = false

//calculation of the first hit - endGame num is reached
monitor = 9
//this is acceptable, however, if that was a bonus mc it would launch the bonus round with the hit of the second mc as well as winning the game from the first mc

Any ideas for a work-around?

Thanks