Screencapture Button Using Winapi Flajector/flash As2

I am using Flajector to wrap an swf into an projector executable. Flajector allows the use of winapi calls written into the swf actionscript. I am looking for someone experienced in using flajector winapi routines.

I need a button coded in Actionscript 2, to take a screen-capture of the currently selected window (which will be the projector window) mimicking alt+Prt Sc.

The output is to be auto-saved in a folder called ‘snaps’ next to the projector executable and auto-named after the projectors file name, appended with the current frame number.

IE: if the projector is called ‘testFile.exe’ the auto saved image will be named ‘testFile – fr.1.jpg’

Leave a Reply

Your email address will not be published. Required fields are marked *