home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / taxidriver.swf / scripts / DefineSprite_405 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-12  |  560 b   |  33 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. e = getProperty("f", _X);
  21. g = getProperty("f", _Y);
  22. h = 0;
  23. set(§§constant(4),function()
  24. {
  25.    if(h >= 4)
  26.    {
  27.       setProperty("f", _X, e + eval(┬º┬ºconstant(5))[┬º┬ºconstant(6)]() * 300 - 150);
  28.       setProperty("f", _Y, g + eval(┬º┬ºconstant(5))[┬º┬ºconstant(6)]() * 300 - 150);
  29.       h = 0;
  30.    }
  31.    h++;
  32. });
  33.