If you control both the main page and the flash movie, you can create a screenshot in flash memory and just send it to javaScript, and then do everything you need with javaScript.
In ActionScript:
import flash.external.ExternalInterface;
ExternalInterface.call("showBase64Image", generateBase64Screenshot());
// see this Mario Klingenmann file for ideas how to do that http://www.quasimondo.com/archives/000572.php
And then in javaScript:
function showBase64Image(base64data) {
var img = document.createElement('img');
img.src = base64data;
document.body.appendChild(img);
}
P.S. allowScriptAccess Flash, Flash- javaScript ( , Flash- ).
, - (, , -), , javaScript, / .