Title: Magnetic-flux dependence of the resistive transition in a square Josephson-junction array