Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8F2310843 for ; Tue, 11 Mar 2014 20:27:51 +0000 (UTC) Received: (qmail 32435 invoked by uid 500); 11 Mar 2014 20:27:51 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 32065 invoked by uid 500); 11 Mar 2014 20:27:44 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 32041 invoked by uid 99); 11 Mar 2014 20:27:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 20:27:42 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of maurice.amsellem@systar.com designates 66.129.85.153 as permitted sender) Received: from [66.129.85.153] (HELO smtp02.myhostedservice.com) (66.129.85.153) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 20:27:36 +0000 Received: from EXHUB05.netplexity.local (172.29.211.25) by smtp02.myhostedservice.com (172.29.211.12) with Microsoft SMTP Server (TLS) id 14.2.347.0; Tue, 11 Mar 2014 16:26:59 -0400 Received: from EXMBX05.netplexity.local ([fe80::cc58:cfe7:ba3b:fae]) by exhub05 ([172.29.211.25]) with mapi id 14.03.0146.000; Tue, 11 Mar 2014 16:27:13 -0400 From: Maurice Amsellem To: "users@flex.apache.org" Subject: RE: Advice Needed With StageWebView & Transitions Thread-Topic: Advice Needed With StageWebView & Transitions Thread-Index: AQHPPVfaQhnxhdbwR0SAEXXf782zRprcNgnggABO7gD//8584A== Date: Tue, 11 Mar 2014 20:27:13 +0000 Message-ID: <2095F5EBE04D59409DFCE91FFCEBF7AFAF2D1F44@EXMBX05.netplexity.local> References: <1394499102684-5373.post@n4.nabble.com> <531E625E.6050405@leeburrows.com> <2095F5EBE04D59409DFCE91FFCEBF7AFAF2D1E9B@EXMBX05.netplexity.local> <1394565344213-5399.post@n4.nabble.com> In-Reply-To: <1394565344213-5399.post@n4.nabble.com> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.29.211.31] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org >The problem is transitioning from a Flex View to another View that display= s the StageWebView object using the Slide Transition. It doesn't work that = well. >So what I'm trying to accomplish is to replace the StageWebView object on = the transitioning to View with a bitmap BEFORE the transition starts,=20 >so that the transition captures the bitmap and tweens that in the transiti= on. I agree, this is the way to go. >it's just during the transition it's not working I don't get you. If the bitmap has been captured BEFORE the transition, wh= y would you need to capture the bitmap DURING the transition. Maybe this is what is happening: The transitions on mobile views will usually wait until the destination vie= w is complete, before doing the transition, so that the transition is smoot= h. In your case, the destination view (with the view) should capture the webvi= ew bitmap during the construction and before the transition. But since it's not visible yet, captureBitmap may not work. I know that captureBitmap works for StageText even when the ST is not visib= le/ not on stage, but that maybe not true for StageWebView. Can you check the scenario above ? I will do it on my side as well when I have some spare time ... Maurice -----Message d'origine----- De=A0: leejk [mailto:leejk421@yahoo.com]=20 Envoy=E9=A0: mardi 11 mars 2014 20:16 =C0=A0: users@flex.apache.org Objet=A0: RE: Advice Needed With StageWebView & Transitions Yes, I'm not disputing that. I think my problem has been misunderstood. The= problem is transitioning from a Flex View to another View that displays th= e StageWebView object using the Slide Transition. It doesn't work that well= . So what I'm trying to accomplish is to replace the StageWebView object on t= he transitioning to View with a bitmap BEFORE the transition starts, so tha= t the transition captures the bitmap and tweens that in the transition. Then when the transition ends put the StageWebView object back onto the sta= ge. I can capture the StageWebView viewport outside of the transition just fine= using the below code... it's just during the transition it's not working. var bitmapData:BitmapData =3D new BitmapData(_stageWebView.viewPort.width, _stageWebView.viewPort.height); _stageWebView.drawViewPortToBitmapData(bitmapData); _stageWebViewBitmap =3D new Bitmap(bitmapData); addChild(_stageWebViewBitma= p); _stageWebView.stage =3D null; -- View this message in context: http://apache-flex-users.2333346.n4.nabble.co= m/Advice-Needed-With-StageWebView-Transitions-tp5373p5399.html Sent from the Apache Flex Users mailing list archive at Nabble.com.