Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

capturing screenshot

Guest
Feb 03, 2013 Feb 03, 2013

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

TOPICS
ActionScript
809
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 03, 2013 Feb 03, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 03, 2013 Feb 03, 2013

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

Here's an AIR library for example:

https://github.com/pcichon/ScreenShooter

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 04, 2013 Feb 04, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 04, 2013 Feb 04, 2013
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines