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

  1. _parent.sssball12._y = this._y;
  2. _parent.sssball11._y = this._y;
  3. _parent.sssball11.ishit = true;
  4. _parent.sssball12.ishit = true;
  5. _parent.sssball11.Att_hit = true;
  6. _parent.sssball12.Att_hit = true;
  7. _parent.sssball12.pang_start = true;
  8. _parent.sssball11.pang_start = true;
  9. _parent.sssball12.dis = _parent.Hit._y - this._y + _root.tans;
  10. _parent.sssball11.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.