
¿Alguien me podria decir que tengo que cambiar en el codigo para situar la bandera donde yo quiera y que no me salga siempre arriba a la izquierda?.
aunque no me deis la respuesta exacta solo que me digais donde la puedo encontrar ya sere feliz

import flash.display.BitmapData;
import flash.geom.*;
import flash.filters.DisplacementMapFilter;
br = 180;// brillo de 0 a 256;
velo = 10;
ond = 10;
img = BitmapData.loadBitmap("imagen");
w = img.width;
h = 4*img.height/3;
marco = new BitmapData(w, h, true, 0);
ola = marco.clone();
marco.draw(img, new Matrix(1, 0, 0, 1, 0, h/7));
marco2 = marco.clone();
createEmptyMovieClip("bandera", this.getNextHighestDepth());
bandera.attachBitmap(marco, 0);
off = new Point();
ond = ond*.16;
velo = velo*.26;
desMap = new DisplacementMapFilter(ola, null, 8, 8, 24, 20, "clamp");
onEnterFrame = function () {
off.x -= velo*w/50;
off.y -= velo*w/100;
ola.perlinNoise(w, 2*h, 1, 0, true, true, 8, true, [offset]);
marco.perlinNoise(w/ond, h/(ond*2), 1, 0, true, true, 7, true, [off]);
marco.merge(marco2, marco.rectangle, null, br, br, br, 256);
bandera.filters = [desMap];
};