6 Replies Latest reply on Jun 15, 2009 10:38 AM by garigantua

    Inconsistent text rendering after effects

    garigantua Level 1

      I noticed that there is as occasional slighty loss in quality after effects are implemented on text.  It occurs more when the text receives increasing effects implementation.  Since, I am passing the text through multiple effects, I thought maybe that was the culprit.  But even isolating one effect to a SimpleText class, I get a bit of a blur.  After about 7 implementations, I get something like the images attached The blur is more prominent as the text is smaller, but happens less occasionally.  Is it maybe just my machine?

       

       

      Screenshot - 6_13_2009 , 2_44_53 AM.jpg Screenshot - 6_13_2009 , 10_20_59 AM.jpg

       

       

      <?xml version="1.0"?>
      <!-- at/NestedButton.mxml -->
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                          creationComplete="init()"
                          xmlns:s="library://ns.adobe.com/flex/spark">
           
           <mx:Script>
                <![CDATA[
                     import spark.layouts.supportClasses.LayoutBase;
                     import mx.events.EffectEvent;
                     import spark.effects.Rotate3D;
                     import mx.effects.Rotate;
      
                private function rotateText():void{
                     var rotate:Rotate3D = new Rotate3D (textF);
                     rotate.angleYBy = 360; 
                     rotate.duration = 500;
                     rotate.autoCenterTransform =true;
                     rotate.focalLength = 1000;
                     rotate.play();
                }
                
                [Bindable]
                private var fontsize:int = 12;
           
           ]]>
           </mx:Script>
           <s:Group>
                <s:layout>
                     <s:VerticalLayout gap="10"/>
                </s:layout>
                
                <s:SimpleText text="Sample Text" fontSize="{fontsize}"/>
                <s:Group id="textF" effectStart="{but.enabled=false;}" effectEnd="{but.enabled=true;}">
                     <s:SimpleText text="Sample Text" fontSize="{fontsize} "/>     
                </s:Group>
                <s:Button id="but" click="rotateText()"/>
           </s:Group>
      
      </mx:Application>