at AnimaciónTecnología_fla::MainTimeline/renderizar()"
el que me pueda ayudar se lo agradezco
Código ActionScript :
import flash.display.Sprite;
import flash.display.BitmapData;
import flash.display.Bitmap;
import flash.events.Event;
var contenedor:Sprite = new Sprite();
var bd:BitmapData = new BitmapData(foto.width,foto.height);
bd.draw(foto);
var bm:Bitmap = new Bitmap(bd);
contenedor.addChild(bm);
contenedor.scaleX = contenedor.scaleY = 2;
addChild(contenedor);
contenedor.mask = mascara;
addEventListener(Event.ENTER_FRAME, renderizar);
function renderizar(evt:Event){
var porcentajeX = foto.mouseX/foto.width;
var porcentajeY = foto.mouseY/foto.height;
contenedor.x = -(contenedor.width - foto.width)*porcentajeX;
contenedor.y = -(contenedor.height - foto.height)*porcentajeY;
mascara.x = stage.mouseX;
mascara.y = stage.mouseY;
} 