init(s)


  
  private function init() : void {
  avx = new Array();
  avy = new Array();
  arz = new Array();
  
  myVid.source = movie;
  off = 1;
  var h:Number = systemManager.stage.stageHeight;
  var w:Number = systemManager.stage.stageWidth;
  
  ball.graphics.beginFill(0xff0000);
  ball.graphics.drawCircle(0, 0, radius);
  ball.x = 200;
  ball.y = 200;
  //avx.push(Math.random() * 30 - 5);
  //avy.push(-20);
  //slist.addChild(ball);
  sprites = new Array();
  //sprites.push(ball);
  
  oval = new object_ax_oval();
  //slist.addChild(bill);
  // var bx:Sprite =  new animation_ch03_Oval();
  // var bx:Sprite = new animation_ch11_Billiard3();
  cloud = new object_ax_cloud(myVid);
  obounce = new object_ax_bounce(myVid);
  slist.addChild(obounce);
  //slist.addChild(oval);
  sprites.push(oval);
  
  myVid.addChild(slist);
  //myVid.mask = slist;
  
  painting = new Sprite();
  painting.blendMode = BlendMode.NORMAL;
  myVid.addChild(painting);
  
                          start_x = mid_x = end_x = 250; //stage.stageWidth / 2;
                          start_y = mid_y = end_y = 250; //stage.stageHeight / 2;
  
  //addEventListener(Event.ENTER_FRAME, paint);
  //addEventListener(MouseEvent.CLICK, change_color); 
  
  addEventListener(Event.ENTER_FRAME, frame);
  addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
  }