Ver Mensaje Individual
  #7 (permalink)  
Antiguo 07/10/2010, 19:14
osafado
 
Fecha de Ingreso: septiembre-2010
Mensajes: 92
Antigüedad: 13 años, 7 meses
Puntos: 1
Respuesta: grabar y enviar imagen

hola, amigo. como siempre agradesco tu interes en ayudarme.

hice como me dijiste ma sige el mismo error:
------------------------------------------------------------
Escena 1, Capa 'guard_bt', Fotograma 4, Línea 2 1061: Llamada a un método save posiblemente no definido mediante una referencia con tipo estático Class.
-------------------------------------------------------------

yo pienso que esto error sea en la segunda linea

ScreenShot.save(root, "screenshot.jpg", 0, 0, stage.stageWidth, stage.stageHeight);

El manual dice asi:
---------------------------------------------------------------
It works very simple! You copy the files to you project folder and you place the following function in your code:
ScreenShot.save(root, ”screenshot.jpg”, 0, 0, stage.stageWidth, stage.stageHeight);
You can define the movieclip, filename, width, height and position of the screenshot.
Requires PHP support!
1. Copy ScreenShot.as to your project folder, place it in the same map as your .fla
2. Place the following function, that will make the screenshot, in your code
ScreenShot.save(root, “screenshot.jpg”, 0, 0, stage.stageWidth, stage.stageHeight);
Argument 1: DisplayObject to print, root to print the whole flash movie
Argument 2: X-Position of the print-area
Argument 3: Y-Position of the print-area
Argument 4: Width of the print-area, use stage.stageWidth when using root
Argument 4: Height of the print-area, use stage.stageHeight when using root

4. To install on your server, just copy the .swf, .html, .js and screenshot.php to your server! screenshot.php has to be in the same map as .html
-----------------------------------------------------------------------------------
no se mas que hacer