import com.flashandmath.dg.display.*;
var waterfall:Waterfall;
init();
function init():void {
waterfall = new Waterfall(200,140,true);
waterfall.x = 510;
waterfall.y = 355;
stage.addChild(waterfall);
waterfall.startFlow();
//Since the Waterfall class extends Sprite, it is interactive and can listen for mouse clicks.
}