topical media & game development 
  
 
 
 
 
  
    
    
  
actionscript-wii-Tree.ax
actionscript-wii-Tree.ax
[swf]
 
flex
  package {
          import flash.display.Sprite;
          
          public class @ax-actionscript-wii-Tree extends Sprite {
                  public var xpos:Number = 0;
                  public var ypos:Number = 0;
                  public var zpos:Number = 0;
                  
                  public function @ax-actionscript-wii-Tree() {
                          init();
                  }
                  public function init():void {
                          graphics.lineStyle(5, 0x000000);
                          graphics.lineTo(0, -140 - Math.random() * 20);
                          graphics.moveTo(0, -30 - Math.random() * 30);
                          graphics.lineTo(Math.random() * 80 - 40, -100 - Math.random() * 40);
                          graphics.moveTo(0, -60 - Math.random() * 40);
                          graphics.lineTo(Math.random() * 60 - 30, -110 - Math.random() * 20);
                  }
          }
  }
  
  
  
(C) Æliens 
27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. 
In case of other copyright issues, contact the author.