Today I wrote a little class
that allows to repeatedly capture the screen content and write the result to a flash file.
It created a flash video with one frame per second (this is a bit crude) with one frame per screen shot taken. It is based on JavaSWF2 a nice wrapper around the SWF file format. To run you need to get the JavaSWF2 jarfile. Then you go:
camera = new ScreenCamera(new File("test.swf")); doStuff(); camera.takeScreenShot(); doMoreStuff(); camera.takeScreenShot(); camera.close();
It might be useful for testing and creating tutorials.
Leave a Reply