home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Corrida / ArcadeCAR.swf / scripts / DefineSprite_221 / frame_1 / DoAction.as
Encoding:
Text File  |  2001-07-07  |  385 b   |  14 lines

  1. carx = getProperty("/:car", _X);
  2. cary = getProperty("/:car", _Y);
  3. carrot = getProperty("/:car", _rotation);
  4. setProperty("/:fire", _X, carx);
  5. setProperty("/:fire", _Y, cary);
  6. setProperty("/:fire", _rotation, carrot);
  7. if(eval("/:hak") eq -1)
  8. {
  9.    _root.gotoAndPlay("loser");
  10.    set("/:hak",0);
  11. }
  12. rokety = getProperty("/:roket", _Y);
  13. setProperty("/:roket", _Y, rokety + 30);
  14.