[AS3] Unable to detect winning score

I have added the following code to my pong game, and it is not working as it should. There are no errors that show up in the console, but once the score for either the player or the AI reaches 7, the game keeps going instead of going on to the called function. My latest attempt ended with trying to pass the value of the variable to the other function that displays the Win/ Loss screen.

The code shown is part of a function that detects if ball is off of the floor movie clip.

// checks to see if ball is still located on floor
     if (!MovieClip(parent).bg.floor.hitTestPoint(x, y + (height / 2 * scaleY), true)) {
     //  if not on stage detect which side ball exits on and add score to appropriate side (scoreRight = player, scoreLeft = AI)
     if (x<stage.stageWidth/2) {
     MovieClip(parent).bg.wallTop.scoreRight.text=Number(MovieClip(parent).bg.wallTop.scoreRight.text)+1;
     } else {
     MovieClip(parent).bg.wallTop.scoreLeft.text=Number(MovieClip(parent).bg.wallTop.scoreLeft.text)+1;
     }                 
     //  Supposed to check if score = 7 and if so, run function finalScore
     if (Number(! MovieClip(parent).bg.wallTop.scoreRight.text)>=7) {
          //  fscore variable is used to which player wins (player = 1, AI = 2)
          finalScore(fscore=1);
      } else if (Number(! MovieClip(parent).bg.wallTop.scoreLeft.text)>=7) {
          finalScore(fscore=2);
     } else {
          drop();
     }

I tried posting my question to a different forum, and have received no help. I heard that the forum member here are very helpful, so I might end up switching flash forums to here.

I have been at this for days, and can’t seem to figure out where my coding is wrong. Any help would be greatly appreciated.