If A2 is a step away, he's shooting and continuous motion allows that shot to count, regardless of when the whistle went off for the T for swearing. The rule says foul and does not specify contact.
Now if you are double dipping the flopper, then you need to hold that whistle until the shot is released.