Controlling speed of anim replay through an animation curve

Hi guys, I wondered whether it would be possible to use the animation editor to control the speed of an animations replay. ie. just now my animation is played back at a constant rate and I’d like to change it mide animation. I guess I could do this by adding anim events which manipulates the speed, but thought doing it via a curve would be better. Any suggestions on how to go about this?
Thanks

Should that help?

http://unity3d.com/support/documentation/ScriptReference/AnimationState-speed.html