Código ActionScript :
function capture(nr) { snapshot = new BitmapData(950, 520); //draw the current state of the Video object into //the bitmap object with no transformations applied snapshot.draw(_root ,new Matrix()); var t:MovieClip = createEmptyMovieClip("bitmap_mc", 0); t._x = 0; t._y = 0; t._xscale = t._yscale = 100; //display the specified bitmap object inside the movie clip t.attachBitmap(snapshot,1); var filterArray = new Array(myFilters[nr]); t.filters = filterArray; attachMovie("print_but","bot",100,{_x:t._x + t._width -450, _y:t._y + t._height / 2}); }
el tema es que necesito hacer una captura de pantalla de mi swf y luego enviarla al servidor con php. Funciona bien pero tarda muchisimo, evidentemente si hago la captura del _root mas pequeña, aqui es de 950*520px, va mas rapido. He probado a redimensionarla mediante AS pero tarda lo mismo, solo tarda menos, si le cambio las parametros que antes mencione. No se necesito alguna opinion de como podria hacer para que tarde menos. Gracias de antemano.