home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / asitchintime2.swf / scripts / DefineSprite_701 / frame_2 / DoAction.as
Encoding:
Text File  |  2005-11-09  |  333 b   |  9 lines

  1. if(Key.isDown(32) and perso.persoBody.hitTest(this) and !c.persoIsInvisible and !c.persoIsBusy and !c.persoIsFalling and !c.persoIsJumping)
  2. {
  3.    c.persoIsInvisible = true;
  4.    c.persoIsBusy = true;
  5.    perso._x = _parent._x + _parent._parent._x;
  6.    perso._y = _parent._y + _parent._parent._y;
  7.    _parent.gotoAndPlay("play");
  8. }
  9.