home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / fierce_fighter.swf / scripts / DefineSprite_960 / frame_13 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  328 b   |  13 lines

  1. _root.zhongquan_boss3();
  2. if(_root.boss3_fangxiang == 1 and _parent._x > 50 and _parent._x - _root.chen._x >= 50)
  3. {
  4.    _parent._x -= 15;
  5. }
  6. else if(_root.boss3_fangxiang == 2 and _parent._x < 500 and _root.chen._x - _parent._x >= 50)
  7. {
  8.    _parent._x += 15;
  9. }
  10. nnn = new Sound();
  11. nnn.attachSound("huo");
  12. nnn.start(0,1);
  13.