Skeletal mesh animation when setting mesh?

How did you get it to work ?