Constant open and close of a mouth can be done with a movieclip symbol and basic frame by frame animation. You can then control whether the movieclip plays or not by providing an instance name and controlling the internal timeline via code.
... View more