Hi all,
I'm quite new to Flex.
I've looked into taking screenshots in flex and have found many links on google and here on stackoverflow for taking screenshots of components and stuff like this. What I would like to do is take a screenshot of the entire tab in a browser window (or, failing that, the browser window itself or even just the screen).
I'm able to take a screenshot of a viewstack because it implements the IBitmapDrawable interface. But what if I want to take a screenshot of the browser tab as mentioned? Is this possible and, if so, how?
The parent of the viewstack is the application but when trying to pass Application.application to the draw method of the BitmapData class, I get the following error:
Implicit coercion of a value with static type Object to a possibly unrelated type flash.display:IBitmapDrawable.
Thanks in advance.