In order to view this page you need Flash Player 9+ support!

Get Adobe Flash player

XML Source

<code>

  <make reference="colors" class="Array" args="0xCCCCCC, 0x000000" />
  <make reference="alphas" class="Array" args="1, 1" />
  <make reference="ratios" class="Array" args="0, 255" />
  
  <make reference="mat" class="flash.geom.Matrix" >
    <call method="createGradientBox" args="200, 200, 0, -50, -50" />
  </make>
  
  <make reference="texture" class="flash.display.MovieClip" >
    <call method="graphics.beginGradientFill" args="'radial', colors, alphas, ratios, mat, 'pad'" />
    <call method="graphics.drawRect" args="0, 0, 100, 100" />
  </make>
  
  <make reference="w" class="BasicView" args="stage.stageWidth, stage.stageHeight, false, true"/>
  <call method="addChild" args="w"/>
  
  <make reference="gradMat" class="MovieMaterial" args="texture" />
  <make reference="wireMat" class="WireframeMaterial" args="0x000000" />
  
  <make reference="plane" class="Plane" args="wireMat, 1200, 1200, 12, 12">
    <set rotationY="45" rotationX="90" />
  </make>
  <call method="w.scene.addChild" args="plane"/>
  
  <make reference="sphere" class="Sphere" args="gradMat, 100" >
    <set y="100" />
  </make>
  
  <call method="w.scene.addChild" args="sphere" />
  
  <make reference="sphereAnimation" class="Object" >
    <set y="1000" ease="Bounce.easeOut"/>
  </make>

  <make reference="camAnimation" class="Object" >
    <set y="1000" />
  </make>
  
  <call method="TweenLite.from" args="sphere, 3, sphereAnimation" />
  <call method="TweenLite.to" args="w.camera, 10, camAnimation" />
  <call method="setInterval" args="w.singleRender, 32" />   
</code>