Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/11/2010, 05:35
Ghosty
 
Fecha de Ingreso: junio-2008
Mensajes: 292
Antigüedad: 15 años, 11 meses
Puntos: 4
Ayuda con ejes x e y

Hola amigos necesitaria saber como puede añadirle a este codigo para que la captura de pantalla lo haga de las medidas que le pongo (414x414) PERO desde los ejes x= 68 y=0

He ntentado esto entre varias cosas, una ayudita porfa

Código PHP:
function capture(nr)
{
    
    
    
snapshot = new BitmapData(414414);
    
snapshot._root._x 68;
    
snapshot._root._y 0;
    
//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 10;
    
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 -1_y:t._y t._height 1.5});