According to the Arizona law even if a police officer is beating you, you'd be committing a crime by recording them so long as the police can claim that you were also "INTERFERING WITH LAWFUL POLICE ACTIONS". As long as they scream "stop resisting" at you, you'll probably be a criminal.