esto es flash nada mas no te compliques tienes que tener una imagen general del mapa que va ir avanzando de fotograma en fotograma ida y vuelta.
ademas tienes dos imagenes escaladas con efecto:
ademas a eso le han añadido cierto codigo:
Código :
var map = new flash.display.BitmapData(275, 275, true, 2);
var bmp = this.createEmptyMovieClip("bmp", 10);
bmp.attachBitmap(map, 0, "auto", true);
var dmf = new flash.filters.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 = -2;
this.onEnterFrame = function ()
{
dmf.mapPoint = new flash.geom.Point(50, 50);
img.scrollRect = new flash.geom.Rectangle(x, 0, 250, 250);
x = x + xadd;
if (x < 1)
{
x = 500;
} // end if
map.draw(cont);
img.filters = [dmf];
};
con flash estos tipos de que el mundo gire son faciles de hacer.