home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / angelpang.swf / scripts / DefineSprite_405 / frame_2 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  715 b   |  25 lines

  1. _parent.mball1.dis = _parent.Hit._y - this._y + _root.tans;
  2. _parent.mball2.dis = _parent.Hit._y - this._y + _root.tans;
  3. _parent.mball1._y = this._y;
  4. _parent.mball2._y = this._y;
  5. _parent.mball2.ishit = true;
  6. _parent.mball1.ishit = true;
  7. _parent.mball2.Att_hit = true;
  8. _parent.mball1.Att_hit = true;
  9. _parent.mball2.pang_start = true;
  10. _parent.mball1.pang_start = true;
  11. _parent.obj._x = this._x;
  12. _parent.obj._y = this._y;
  13. if(random(3) == 0)
  14. {
  15.    if(_parent.pang_item_hit)
  16.    {
  17.       _parent.item_Down = true;
  18.       _parent.obj._x = this._x;
  19.       _parent.obj._y = this._y;
  20.       _parent.pang_item_hit = false;
  21.       _parent.obj._visible = true;
  22.       _parent.obj.in_obj.start_obj.play();
  23.    }
  24. }
  25.