Zooming figures

I’m using the tutorial “zooming figures” for a website. In the tutorial there are 3 figures that are continious zooming in and out. I need the movie to stop in the start, play when you’re on a figure with your mouse and stop again when the figure is in front. For example: when my mouse is on figure A I want to play the movie till figure A is in front and the movie to pause. When the mouse is on figure B, pause when figure B is in front. Does somebody know if this is possible (anything is possible…) and how to do this?