Flux propagation in thin-film magnetic structures