Hi there -

I got an istock flash of a rotating earth for a client project (http://www.istockphoto.com/stock-fla...php?st=d5556f2) and now the client wants to reverse the rotation of it! Being a newbie, I've looked at the actionscript and can't make heads or tails of it. (I've also tried messing with it to try to understand what each line is doing but also can't figure it out. Can anyone help make sense of this and describe how to reverse the direction???

It is a masked object and 2 objects that refer to the foreground and the background.
Here is the script affecting the background object (The foreground is similar, but dmf.scaleX are +105;
dmf.scaleY +105).

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 dmfisplacementMapFilter = 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 = 250;
xadd = -2;
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];
};