topical media & game development

talk show tell print

sample-flex-iso.ax

sample-flex-iso.ax [swf] flex


  package 
  {
          import as3isolib.display.primitive.IsoBox;
          import as3isolib.display.scene.IsoScene;
          
  
code.google.com/p/as3isolib/wiki/as3isolib_tutorial_002

import flash.display.Sprite; public class @ax-sample-flex-iso extends Sprite { public function @ax-sample-flex-iso () { var box0:IsoBox = new IsoBox(); box0.setSize(25, 25, 25); box0.moveTo(200, 0, 0); var box1:IsoBox = new IsoBox(); box1.width = 10; box1.length = 25; box1.height = 50; box1.moveTo(230, -15, 20); var box2:IsoBox = new IsoBox(); box2.setSize(10, 50, 5); box2.moveTo(200, 30, 10); var scene:IsoScene = new IsoScene(); scene.hostContainer = this; scene.addChild(box2); scene.addChild(box1); scene.addChild(box0); scene.render(); } } }


(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.