package { import flash.display.Sprite; public class actionscript_eventflow_customevent_ShoppingBasketDemo extends Sprite { public function 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); } } }