Take the pen tool, cut out your foreground object. Keyframe it so that it is cut out the whole length of the movie. (Use the pointer tool to move individual points). Add a new background as a second layer. Tere you go. It is VERY time consuming and annoying so good luck.