Resetting the 2d matrix works great for me. Thanks, I love simple solutions!
Patrick --- In [email protected], Chet Haase <cha...@...> wrote: > > > Ah, okay. The yes: resetting the matrix seems to be the way to workaround > this problem (which must be what weâre doing internally, as of Flex 4). > > Thanks, > Chet. > > > From: [email protected] [mailto:[email protected]] On > Behalf Of thomas parquier > Sent: Saturday, August 08, 2009 6:31 AM > To: [email protected] > Subject: Re: [flexcoders] Flex & 3d Tweening and best practice/results for > Text > > > > Chet, > > The blurry effect doesnt occur any more with sdk4. > The component I wrote uses sdk3.3, which leaves blurry the buttons from the > example code you sent. > > thomas > --- > http://www.web-attitude.fr/ > msn : thomas.parqu...@...<mailto:thomas.parqu...@...> > softphone : sip:webattit...@...<mailto:sip%3awebattit...@...> > téléphone portable : +33601 822 056 > > 2009/8/8 Chet Haase <cha...@...<mailto:cha...@...>> > > > > > Thatâs not what Iâm seeing: in the code below, the rotator effect rotates > the button around the Y axis, ending at rotationY==0, at which point the text > in the button is no longer blurry: > > > > <?xml version="1.0" encoding="utf-8"?> > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> > > <mx:AnimateProperty id="rotator" property="rotationY" fromValue="360" > toValue="0" target="{button1}"/> > > <mx:Button id="button" x="10" label="Move Me" click="button.z = (button.z > == 100) ? 0 : 100"/> > > <mx:Button id="button1" x="10" y="50" label="Rotate Me" > click="rotator.play()"/> > > </mx:Application> > > > > Are you doing anything with the 3D properties besides setting rotationY? Post > all of the code (if you can boil it down to a simple case) > > > > Chet. > > > > > > From: [email protected]<mailto:[email protected]> > [mailto:[email protected]<mailto:[email protected]>] On > Behalf Of thomas parquier > Sent: Friday, August 07, 2009 3:40 PM > > To: [email protected]<mailto:[email protected]> > Subject: Re: [flexcoders] Flex & 3d Tweening and best practice/results for > Text > > > > > > Chet, > > Yet in a mxml component I had to do the following : > > <mx:AnimateProperty property="rotationY" toValue="0" duration="700" > effectEnd="twoSidedDO3D.transform.matrix=new Matrix(1,0,0,1,width/2,0);" /> > > thomas > --- > http://www.web-attitude.fr/ > msn : thomas.parqu...@...<mailto:thomas.parqu...@...> > softphone : sip:webattit...@...<mailto:sip%3awebattit...@...> > téléphone portable : +33601 822 056 > > 2009/8/7 Chet Haase <cha...@...<mailto:cha...@...>> > > > > > > You donât necessarily have to reset the 2d matrix â" you just have to make > sure that all of your 3d properties are set back to the values they would > have if the object were again in 2d. > > > > In the original example, if the only thing you did was to change the z > location, and then you reset it to 0, then the text should not be blurry any > longer (we recognize that the object no longer needs a 3D transform and just > do the right 2D thing instead). I suspect that you are setting more 3D > properties than simply the z property (like rotationX, rotationY, etc.), so > even though youâre zeroing-out the âzâ property, thatâs not enough to > take the object out of 3D and put it on the 2D plane again. > > > > Figure out the other 3D properties that youâre tweaking (just take a look > at the matrix when itâs back in the state where you think it should be 2D) > and reset the ones that are still in 3D. > > > > Chet. > > > > > > From: [email protected]<mailto:[email protected]> > [mailto:[email protected]<mailto:[email protected]>] On > Behalf Of thomas parquier > Sent: Friday, August 07, 2009 11:21 AM > To: [email protected]<mailto:[email protected]> > Subject: Re: [flexcoders] Flex & 3d Tweening and best practice/results for > Text > > > > > > Hi, > > When objects are back to 2d, you have to reset 2d matrix to get rid of blurry > effect. > > thomas > --- > http://www.web-attitude.fr/ > msn : thomas.parqu...@...<mailto:thomas.parqu...@...> > softphone : sip:webattit...@...<mailto:sip%3awebattit...@...> > téléphone portable : +33601 822 056 > > 2009/8/5 djhatrick <djhatr...@...<mailto:djhatr...@...>> > > > > I have a displayObject, a panel, doing 3d stuff with the panel... However > after I tween my object to z=0, the text looks blurry after the animation has > stopped. > > Is there a way to make the text look sharp: > > fontAntiAliasType="advanced" > > I've tried but that gives not-passable results. > > Thanks, > Patrick >

