I'm in the process of writing Flex (ActionScript 3.0) application that runs in a browser.
One of the requirements is to be able to take a screenshot of currently displayed content, but not limited to the SWF object's area but the whole active tab.
In Chrome I've resolved the issue by coding an extension. First I make a request from inside of the Flex app using ExternalInterface
class then in extension itself I communicate with background script and take a screenshot there using chrome.tabs.captureVisibleTab()
which is automatically converted to a String format which I am able to pass back to callback function in SWF object.
In Firefox I have used a similar approach - browser extension that talks back and forward with Flex app using JavaScript allows me to procure screen capture.
In Internet Explorer I'm stuck at the very beginning. I don't exactly know how to approach the issue. I've read about ActiveX controls and BHOs:
But since I'm a beginner in Microsoft technologies I really could use some help with picking best approach to the problem.
In short my question is: How do I pass the screenshot of a currently active tab in IE to a Flex application?