Fermi LAT View of a Sample of Flaring gamma-Ray AGNs