FXG Editor Rendering Test

by hacker_nekomaru
♥0 | Line 115 | Modified 2010-05-06 17:48:06 | MIT License
play

ActionScript3 source code

/**
 * Copyright hacker_nekomaru ( http://wonderfl.net/user/hacker_nekomaru )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/wkAY
 */

<?xml version="1.0" encoding="utf-8"?><Application xmlns="library://ns.adobe.com/flex/spark" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx">
  <Graphic version="2.0" viewHeight="841.89" viewWidth="595.275" xmlns:d="http://ns.adobe.com/fxg/2008/dt">
    
    <RichText fontFamily="_sans" fontSize="30" x="13.4" y="17.6">
      <content>
        
        <div>
          
          <p>
            
            <span>Rendering</span>
            
            <span alignmentBaseline="useDominantBaseline" backgroundAlpha="1" backgroundColor="transparent" baselineShift="0" breakOpportunity="auto" cffHinting="horizontalStem" color="#7e9efc" digitCase="default" digitWidth="default" dominantBaseline="auto" fontFamily="Lucida Console" fontLookup="device" fontSize="50" fontStyle="normal" fontWeight="normal" kerning="auto" ligatureLevel="common" lineHeight="120%" lineThrough="false" locale="en" renderingMode="cff" textAlpha="1" textDecoration="none" textRotation="auto" trackingLeft="0" trackingRight="0" typographicCase="default">Test</span>
            
            <span/>
            
          </p>
          
        </div>
        
      </content>
      
    </RichText>
    
    <Rect width="286" height="118" topLeftRadiusX="39" topRightRadiusX="39" bottomLeftRadiusX="39" bottomRightRadiusX="39" x="22" y="87">
      
      <fill>
        
        <LinearGradient x="34" y="23" scaleX="234.71898091121648" rotation="21.75608055632076">
          
          <GradientEntry color="#5A7DFB" ratio="0"/>
          
          <GradientEntry color="#8EFDA1" ratio="0.45751633986928103"/>
          
          <GradientEntry color="#FAC2A0" ratio="0.9803921568627452"/>
          
        </LinearGradient>
        
      </fill>
      
      <stroke>
        
        <LinearGradientStroke x="3" y="14" scaleX="286.55540476494247" rotation="9.034995000473009" weight="19.5" miterLimit="0">
          
          <GradientEntry color="#657387" ratio="0"/>
          
          <GradientEntry color="#E08DE3" ratio="0.9803921568627452"/>
          
        </LinearGradientStroke>
        
      </stroke>
      
    </Rect>
    
    <Path data="M156,-40 C243.2,-40 314,30 314,67.5C314,105 244.35,141.4 157.15,141.4C69.85,141.4 -72.15,25.25 -72.1,-12.25C-72.1,-49.75 68.75,-40 156,-40Z" winding="nonZero" blendMode="hardlight">
      
      <transform>
        
        <Transform>
          
          <matrix>
            
            <Matrix a="0.870852530002594" b="-0.4915444254875183" c="0.4915444254875183" d="0.870852530002594" tx="134.3" ty="164.2"/>
            
          </matrix>
          
        </Transform>
        
      </transform>
      
      <fill>
        
        <RadialGradient x="128.45" y="60" scaleX="313.80159336752905" rotation="0.18258631472820816" scaleY="202.00200494054508">
          
          <GradientEntry color="#000000" ratio="0"/>
          
          <GradientEntry color="#6DF8A3" ratio="0.46405228758169936"/>
          
          <GradientEntry color="#FA7DA3" ratio="0.9803921568627452"/>
          
        </RadialGradient>
        
      </fill>
      
      <stroke>
        
        <SolidColorStroke color="#E364CA" alpha="1" weight="11.4" miterLimit="5.4" joints="miter"/>
        
      </stroke>
      
    </Path>
    
    <Path data="M50,0 C77.77777777777777,0 100,22.22222222222222 100,50C100,77.77777777777777 62.75,222 42,302C35.2,231 0,77.77777777777777 0,50C0,22.22222222222222 22.22222222222222,0 50,0Z" winding="nonZero">
      
      <transform>
        
        <Transform>
          
          <matrix>
            
            <Matrix a="0.8287147283554077" b="0.5596711039543152" c="-0.5596711039543152" d="0.8287147283554077" tx="431.4" ty="57"/>
            
          </matrix>
          
        </Transform>
        
      </transform>
      
      <fill>
        
        <LinearGradient x="5.206481974458678e-30" y="0" scaleX="100">
          
          <GradientEntry color="#000000" ratio="0"/>
          
          <GradientEntry color="#98FEA9" ratio="0.9803921568627452"/>
          
        </LinearGradient>
        
      </fill>
      
      <stroke>
        
        <LinearGradientStroke x="5.206481974458678e-30" y="0" scaleX="100" weight="11.4" miterLimit="5.4" joints="miter">
          
          <GradientEntry color="#000000" ratio="0"/>
          
          <GradientEntry color="#EDE1A5" ratio="0.9803921568627452"/>
          
        </LinearGradientStroke>
        
      </stroke>
      
      <filters>
        
        <DropShadowFilter blurX="34" blurY="34" color="#333399" alpha="1" distance="20" angle="45" strength="1" quality="3" inner="false" knockout="false" hideObject="false"/>
        
      </filters>
      
    </Path>
    
    <Rect width="316" height="76" topLeftRadiusX="33" topRightRadiusX="33" bottomLeftRadiusX="33" bottomRightRadiusX="33" x="27" y="231">
      
      <fill>
        
        <RadialGradient x="227" y="34" scaleX="675.7403347440494" rotation="-6.031196420952433" scaleY="208.3698634639856">
          
          <GradientEntry color="#FAFFF3" ratio="0"/>
          
          <GradientEntry color="#8488AB" ratio="0.5228758169934641"/>
          
          <GradientEntry color="#362472" ratio="0.9934640522875816"/>
          
        </RadialGradient>
        
      </fill>
      
      <filters>
        
        <BevelFilter blurX="20" blurY="20" highlightColor="#FFFFFF" shadowColor="#000000" highlightAlpha="1" shadowAlpha="1" distance="10" angle="45" strength="1.7" type="inner" quality="3" knockout="false"/>
        
      </filters>
      
    </Rect>
    
    <RichText fontFamily="_sans" fontSize="30" blendMode="add">
      
      <content>
        
        <div>
          
          <p>
            
            <span alignmentBaseline="useDominantBaseline" backgroundAlpha="1" backgroundColor="transparent" baselineShift="0" breakOpportunity="auto" cffHinting="horizontalStem" color="#51b4e9" digitCase="default" digitWidth="default" dominantBaseline="auto" fontFamily="_sans" fontLookup="device" fontSize="30" fontStyle="normal" fontWeight="normal" kerning="auto" ligatureLevel="common" lineHeight="120%" lineThrough="false" locale="en" renderingMode="cff" textAlpha="1" textDecoration="none" textRotation="auto" trackingLeft="0" trackingRight="0" typographicCase="default">Rendering</span>
            
            <span alignmentBaseline="useDominantBaseline" backgroundAlpha="1" backgroundColor="transparent" baselineShift="0" breakOpportunity="auto" cffHinting="horizontalStem" color="#7e9efc" digitCase="default" digitWidth="default" dominantBaseline="auto" fontFamily="Lucida Console" fontLookup="device" fontSize="50" fontStyle="normal" fontWeight="normal" kerning="auto" ligatureLevel="common" lineHeight="120%" lineThrough="false" locale="en" renderingMode="cff" textAlpha="1" textDecoration="none" textRotation="auto" trackingLeft="0" trackingRight="0" typographicCase="default">Test</span>
            
            <span/>
            
          </p>
          
        </div>
        
      </content>
      
      <transform>
        
        <Transform>
          
          <matrix>
            
            <Matrix a="1.2419226169586182" b="0.36456096172332764" c="-0.29667699337005615" d="1.526092290878296" tx="56.65" ty="77.6"/>
            
          </matrix>
          
        </Transform>
        
      </transform>
      
    </RichText>
    
    <RichText fontFamily="_sans" fontSize="30" x="71.4" y="252.6" blendMode="screen">
      
      <content>
        
        <div>
          
          <p>
            
            <span/>
            
            <span alignmentBaseline="useDominantBaseline" backgroundAlpha="1" backgroundColor="transparent" baselineShift="0" breakOpportunity="auto" cffHinting="horizontalStem" color="#84fe80" digitCase="default" digitWidth="default" dominantBaseline="auto" fontFamily="_sans" fontLookup="device" fontSize="30" fontStyle="normal" fontWeight="normal" kerning="auto" ligatureLevel="common" lineHeight="120%" lineThrough="false" locale="en" renderingMode="cff" textAlpha="1" textDecoration="none" textRotation="auto" trackingLeft="0" trackingRight="0" typographicCase="default">Rendering</span>
            
            <span alignmentBaseline="useDominantBaseline" backgroundAlpha="1" backgroundColor="transparent" baselineShift="0" breakOpportunity="auto" cffHinting="horizontalStem" color="#ca85f0" digitCase="default" digitWidth="default" dominantBaseline="auto" fontFamily="_sans" fontLookup="device" fontSize="30" fontStyle="normal" fontWeight="normal" kerning="auto" ligatureLevel="common" lineHeight="120%" lineThrough="false" locale="en" renderingMode="cff" textAlpha="1" textDecoration="none" textRotation="auto" trackingLeft="0" trackingRight="0" typographicCase="default">Test</span>
            
            <span/>
            
          </p>
          
        </div>
        
      </content>
      
    </RichText>
    
  </Graphic>
</Application>