Update: We’re in beta! Contact me to get on the beta list: andrew [at] simplifiedlogic.com subject: NitroScreenCap Beta. Also, include your development OS platform.


I’ve been working on a project for Simplified Logic that requires screen capture capabilities. Since this type of feature would be hugely useful to others developing AIR applications, I’ve convinced them to break it out and sell it as a component. This component has two parts. The first is a .swc file you include in your AIR application. The second is a set of native executables that the AIR app will utilize to handle the native part of the screen capture.

So far, I have it working only on Windows. Next on my list will be OSX support followed closely by Linux. Pricing for this component is undetermined at this time.

The code on the AIR side is pretty straightforward for users. You’ll need to use the extendedDesktop AIR profile and package your app as an executable.

protected function screenshotButton_clickHandler(event:MouseEvent):void
{
    nitroScreenCap.takeScreenshot(
        function screenshotResult(bitmapData:BitmapData):void
        {
            screenshotImage.source = bitmapData;
        },
        function screenshotError(error:Error):void
        {
            trace(error.message);
        }
    );
}

Watch the video to get an idea of what it’s capable of.

Unable to display content. Adobe Flash is required.

Post to Twitter

Posted by Andrew, filed under AIR, C++. Date: February 24, 2011, 6:02 pm | 9 Comments »

04  Feb
RIA Rockstars

For those of you who haven’t heard, the Inside RIA blog is no more. Rich Tretola has been kind enough to round up former and new authors to work on a new blog site called RIA RockStars.

My first contribution to the site is Efficient NativeProcess call in Adobe AIR. Enjoy!

Post to Twitter

Posted by Andrew, filed under AIR, C++, encryption. Date: February 4, 2011, 4:09 pm | No Comments »