Elasticity in flash

Does anyone know how to go about making things elastic in flash? eg, stretching and contracting.