topical media & game development

talk show tell print

actionscript-eventflow-customevent-ShoppingBasketDemo.ax

actionscript-eventflow-customevent-ShoppingBasketDemo.ax [swf] flex


  package {
    import flash.display.Sprite;
  
    public class @ax-actionscript-eventflow-customevent-ShoppingBasketDemo extends Sprite {
      public function @ax-actionscript-eventflow-customevent-ShoppingBasketDemo () {
        var basket:actionscript_eventflow_customevent_ShoppingBasket = new actionscript_eventflow_customevent_ShoppingBasket();
        basket.addProduct(new actionscript_eventflow_customevent_Product("Nintendo Wii"));
        basket.addProduct(new actionscript_eventflow_customevent_Product("Xbox 360"));
        basket.addProduct(new actionscript_eventflow_customevent_Product("PlayStation 3"));
        addChild(basket);
      }
    }
  }
  


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