Because, as Om says, it's not on the Display List, so it has a specific method to capture its content:
StageWebView's.drawViewPortToBitmapData(bitmap:BitmapData):void Maurice -----Message d'origine----- De : [email protected] [mailto:[email protected]] De la part de OmPrakash Muppirala Envoyé : mardi 11 mars 2014 03:08 À : [email protected] Objet : Re: Advice Needed With StageWebView & Transitions You should probably wait until after the webpage loads, right? On Mar 10, 2014 5:52 PM, "leejk" <[email protected]> wrote: > Hello, > > I have a situation where I'm using a Slide transition to go to a View > that displays the StageWebView component. I'm trying to capture the > bitmap data of the StageWebView's viewport, add it to the stage, then > hide the StageWebView object, in order for the transition to look > correct. My thinking is that the Slide transition is capturing the > screen and tweening the bitmap to generate the effect, so I'm trying > to fix it where when the transition does it's capture, it's capturing > my bitmap I'm creating from the StageWebView viewport. However, when I > try this approach the resulting bitmap is just a blank white screen. > I've written a wrapper component that extends UIComponent for the > StageWebView component, and I've tried doing the capture in it's > updateDisplayList method & creationComplete handler, but not luck. > Perhaps I'm doing the capture before the viewport is actually rendered > somehow? So is it even possible to do this type of thing? > > > > -- > View this message in context: > http://apache-flex-users.2333346.n4.nabble.com/Advice-Needed-With-Stag > eWebView-Transitions-tp5373.html Sent from the Apache Flex Users > mailing list archive at Nabble.com. >
