Flux motion in thin superconductors with inhomogeneous pinning.