Resonant absorption: Transformation of compressive motions into vortical motions