I have a ready made 3D Like Rotating Globe (AS2 problem)

hi everyone, i have bought a 3d like rotating globe but i have problem dealing with the script. i never seen this kind of script before, im no way near to this kind of scripting.

Well the problem is i want to stop the scrolling whenever it detects a onRollOver function and onClick it will open a flat map with the same size. i have tried certain things but it didnt work out.

Can anyone help me please…

import flash.display.BitmapData;
import flash.filters.DisplacementMapFilter;
import flash.geom.Point;
import flash.geom.Rectangle;
var map:BitmapData = new BitmapData(275, 275, true, 2);
var bmp:MovieClip = this.createEmptyMovieClip("bmp", 10);
bmp.attachBitmap(map, 0, "auto", true);
var dmf:DisplacementMapFilter = new DisplacementMapFilter();
dmf.mapBitmap = map;
dmf.mode = "color";
dmf.scaleX = 105;
dmf.scaleY = 105;
dmf.componentX = 1;
dmf.componentY = 2;
dmf.alpha = 0;
bmp._visible = false;
cont._visible = false;
img.cacheAsBitmap = true;
gradient.cacheAsBitmap = true;
x = 500;
xadd = -1;
this.onEnterFrame = function() {
    dmf.mapPoint = new flash.geom.Point(50, 50);
    img.scrollRect = new Rectangle(x, 0, 250, 250);
    x += xadd;
    if (x<1) {
        x = 500;
    }
    map.draw(cont);
    img.filters = [dmf];
};
}