I now possibly disagree with myself :) I didnt know about StageWebView.drawViewPortToBitmapData()

The example code in the docs suggests it can be done. I cant remember the original use case, but if StageWebView is off-screen, that could be the problem.

Docs define bitmap parameter as "The BitmapData object on which to draw the VISIBLE portion of the StageWebView's view port" (my capitals).

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/StageWebView.html#drawViewPortToBitmapData()

On 11/03/2014 18:29, Jonathan Campos wrote:
On Mon, Mar 10, 2014 at 8:09 PM, Lee Burrows
<[email protected]>wrote:

Docs state, "The StageWebView class is NOT a display object and cannot be
added to the Flash display list"

I agree with Lee. You can't get a screenshot of this because it lives
"above" the normal display list. Same thing with StageText. Go ahead and
try it out, you'll see that you can't get a screengrab with the text
showing. You can move the entire StageWebView though. Usually I just remove
it from the view prior to transitioning.

J




--
Lee Burrows
ActionScripter

Reply via email to