Problems Controling Zoom Effect

Hello… I’m trying to develop this GUI. Here is how it works.

A movie object needs to move in the direction of the mouse. The velocity vector of the movie is porportional to how far the the mouse has moved from the center of the screen.

Furthermore, once the movie is moving past a certain speed in any direction, it should zoom out at a fixed rate to about 20%. Then when below that velocity threshold, it zooms back in at a fixed rate to 100%.

It’s that simple. But for some reason, my code is very erratic. I’ve included the .fla file.

Any help would be very very appreciated.

THANKS
-dan