Educate the parents.
Most of the parents I've encountered watching games I've officiated don't have a clue about the rules. Try to give them a mini-clinic during the game.
So when when the referee doesn't call a 3 second violation while the ball is being shot at the basket the parents aren't going to have a fit