Page 1 of 1

How to wait some time to get a screenshot / allow flash do things ?

Posted: Mon Jul 15, 2013 5:00 pm
by ArtMM
We've bought the license for the .net version. We need to generate thumbnails for some of the swf files. I've created a console application (STA Thread) with a form, which loads the swf file and plays the swf file at a specific frame and gets the bitmap screenshot. For some of the swf's the frame is blank, but there are some actions which fills the screen. I am unable to get the screenshot after the actions are complete. Is there a way to get the screenshot after the actions are complete or wait for few seconds before grabbing the screenshot?

Re: How to wait some time to get a screenshot / allow flash do things ?

Posted: Mon Jul 15, 2013 9:32 pm
by Softanics
Hi,

There is a thread with flash control (along with message cycle so far) and there is another thread. In another thread you just call Sleep(some seconds) and then take a snapshot.

It looks quite well.

Thank you.