home *** CD-ROM | disk | FTP | other *** search
/ Champak 48 / cdrom_image.iso / Games / cannonballfollier3.swf / scripts / DefineSprite_360 / frame_9 / DoAction.as
Encoding:
Text File  |  2007-10-01  |  439 b   |  17 lines

  1. _X = Number(_X) + Number(eval("..:thrustx")) - eval("..:wind");
  2. _Y = Number(_Y - eval("..:thrusty")) + Number(eval("..:gravity"));
  3. set("..:gravity",Number(eval("..:gravity")) + 0.7);
  4. setProperty("../shadow", _X, _X);
  5. if(350 < _Y)
  6. {
  7.    setProperty("../splash", _X, _X);
  8.    tellTarget("../splash")
  9.    {
  10.       play();
  11.    }
  12.    setProperty("../shadow", _X, 50);
  13.    _X = -50;
  14.    gotoAndPlay(1);
  15. }
  16. gotoAndPlay(_currentframe - 1);
  17.