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

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