how to animate flexible things in solidworks using flex feature ??

lets imagine that I have a hollow cone and a hollow cylinder I would like to adjust both of things together if I move cylinder or pipe up and down then the face of cone which have larger radius must have shrink and get their original position back .