flint grass

by tjoen
♥2 | Line 32 | Modified 2010-12-28 06:37:21 | MIT License
play

ActionScript3 source code

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

<?xml version="1.0" encoding="utf-8"?>
<mx:Application
  xmlns:mx="http://www.adobe.com/2006/mxml"
  xmlns:f="http://flintparticles.org/2009/flint2d"
  layout="absolute" width="465" height="465"
  backgroundColor="#ffffff">

<f:BitmapLineRenderer width="465" height="465">
  <f:emitters>
    <f:Emitter id="emitter" autoStart="true" x="232" y="440">
      <f:counter>
        <f:Blast startCount="700"/>
      </f:counter>
      <f:initializers>
        <f:Position>
          <f:DiscZone centerX="0" centerY="0" outerRadius="140"/>
        </f:Position>
        <f:Velocity>
          <f:DiscSectorZone centerX="0" centerY="0" outerRadius="60" innerRadius="30" minAngle="{-5 * Math.PI / 8}" maxAngle="{-3 * Math.PI / 8}"/>
        </f:Velocity>
        <f:ColorInit minColor="0xFF006600" maxColor="0xFF009900"/>
        <f:Lifetime lifetime="3"/>
      </f:initializers>
      <f:actions>
        <f:Move/>
        <f:Age/>
        <f:Accelerate x="0" y="10"/>
        <f:ScaleImage startScale="4" endScale="1"/>
      </f:actions>
    </f:Emitter>
  </f:emitters>
</f:BitmapLineRenderer>
</mx:Application>