topical media & game development

talk show tell print

animation-ch03-Arrow.ax

animation-ch03-Arrow.ax [swf] [flash] flex


  package {
   import flash.display.Sprite;
   
   public class @ax-animation-ch03-Arrow extends Sprite {
    public function @ax-animation-ch03-Arrow() {
     init();
    }
  

init(s)


    public function init():void {
     graphics.lineStyle(1, 0, 1);
     graphics.beginFill(0xffff00);
     graphics.moveTo(-50, -25);
     graphics.lineTo(0, -25);
     graphics.lineTo(0, -50);
     graphics.lineTo(50, 0);
     graphics.lineTo(0, 50);
     graphics.lineTo(0, 25);
     graphics.lineTo(-50, 25);
     graphics.lineTo(-50, -25);
     graphics.endFill();
    }
   }
  }
  


(C) Æliens 04/09/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.