Sounds like it's probably a loose conection. Bring it into the apple store and they can check the connections inside free of charge.
I had an issue with the screen on my mbp a couple weeks ago. Brought it into the apple store, they opened it up and saw a cable was being pinched, problem fixed and I was on my way without paying a dime. The computer wasn't under warranty either