A new method for the dynamic deformation characterization of thin-film stacked structures