Highlighted

Screenshot video in Adobe Air for Android

Community Beginner ,
Oct 07, 2020

Copy link to clipboard

Copied

Hi, everyone. I have a big problem. I'm developing a digital signage app and is everything fine. Also, this same APP works in desktop. I take a screenshot each 2 minutes to all stage, the video is local. It works in desktop, but in Android it doesn't.
I had tried to pause the video and take the screenshot (using BitmapData and the method Draw) and the video turn black, so, when I get the screenshot it's only black. Please, I searched about permissions but it doesn't have sense because the video is inside the android device.

This is the code to get the screenshot

var foto:BitmapData = new BitmapData(stage.fullScreenWidth, stage.fullScreenHeight);
foto.draw(this);

After "foto.draw(this);" the Video Object turns black

Help me.

Views

15

Likes

Translate

Translate

Report

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

Screenshot video in Adobe Air for Android

Community Beginner ,
Oct 07, 2020

Copy link to clipboard

Copied

Hi, everyone. I have a big problem. I'm developing a digital signage app and is everything fine. Also, this same APP works in desktop. I take a screenshot each 2 minutes to all stage, the video is local. It works in desktop, but in Android it doesn't.
I had tried to pause the video and take the screenshot (using BitmapData and the method Draw) and the video turn black, so, when I get the screenshot it's only black. Please, I searched about permissions but it doesn't have sense because the video is inside the android device.

This is the code to get the screenshot

var foto:BitmapData = new BitmapData(stage.fullScreenWidth, stage.fullScreenHeight);
foto.draw(this);

After "foto.draw(this);" the Video Object turns black

Help me.

Views

16

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 07, 2020 0

Have something to add?

Join the conversation