Setting frame rate through action script

Hello Guys,

I have one flash movie. I have to set speed controller for this.

Like: Regular, Slow and Speed. How can I set the speed controller.

or atleast can you please tell me any one setting frame rate in action script.

Please help me …

Thanks and Regards,
Chethan