home *** CD-ROM | disk | FTP | other *** search
/ Champak 112 / jogo-disk-112.iso / Games / crazy_cars.swf / scripts / DefineSprite_58 / frame_3 / DoAction.as
Text File  |  2010-07-14  |  358b  |  19 lines

  1. if(_parent.hitArea.hitTest(_root.player.hitArea))
  2. {
  3.    _root.bang.nextFrame();
  4.    _root.player.car.gotoAndStop(1);
  5.    _root.player.behav.playerspeed = 7.5;
  6. }
  7. if(680 < _parent._Y)
  8. {
  9.    _parent._Y = startY;
  10.    _parent.gotoAndStop(ranCar);
  11.    gotoAndPlay(carLoop);
  12. }
  13. else
  14. {
  15.    gotoAndPlay(2);
  16.    ┬º┬ºpush(undefined);
  17.    ┬º┬ºpush(undefined);
  18. }
  19.