You cannot play advantage if the ball is not in play. Ball is not in play until it is "kicked directly out of penalty area".
Excellent SM - very black & white ...
... same for a foul throw that is thrown to the opposition or a free-kick taken from the wrong place that is intercepted by the opposition ...
Ball isn't in play - can't play advantage ... still makes it a hard sell sometimes though