Need some help

Okay, I have started to make a platform game using flash and I need to know how to make the background scroll when the character moves and make it stationary when the character is stopped…