Skip to main content
February 3, 2013
Question

capturing screenshot

  • February 3, 2013
  • 2 replies
  • 869 views

is there a way I could capture a screenshot of my desktop or a potion of my desktop?

This topic has been closed for replies.

2 replies

sinious
Legend
February 3, 2013

You'll need to use something like an AIR desktop app.

Here's an AIR library for example:

https://github.com/pcichon/ScreenShooter

February 4, 2013

I saw someone using XML to make it, since I'm unable to do any XML on my own I would like to see if I can make it with AS3

sinious
Legend
February 5, 2013

XML isn't a programming language nor capable of doing anything like that. It's just text. You would need a programming language compiled or runtime with the permissions to capture the desktop. This is a very low level request and is just outright dangerous. AIR itself, as a workaround, taps into Java or c# to capture a portion of the screen. And that doesn't mean it can tap into frameworks like openGL or DirectX.

Ned Murphy
Legend
February 3, 2013

I am not sure if this relates to Flash or not, but if it does not, then your Printscreen button will capture a screenshot, and using Alt-Printscreen will capture whatever window currently has focus.