flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurice Amsellem <maurice.amsel...@systar.com>
Subject RE: Advice Needed With StageWebView & Transitions
Date Tue, 11 Mar 2014 09:27:25 GMT
Because, as Om says, it's not on the Display List, so it has a specific method to capture its



-----Message d'origine-----
De : omuppi1@gmail.com [mailto:omuppi1@gmail.com] De la part de OmPrakash Muppirala
Envoyé : mardi 11 mars 2014 03:08
À : users@flex.apache.org
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" <leejk421@yahoo.com> 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.

View raw message