home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / maximum_rotation.swf / scripts / frame_90 / DoAction.as
Encoding:
Text File  |  2007-03-20  |  645 b   |  18 lines

  1. rotate_st = getTimer();
  2. setProperty(mvdown, _Y, getProperty(mvdown, _Y) + "12");
  3. setProperty(mvleft, _X, getProperty(mvleft, _X) - "16");
  4. setProperty(mvup, _Y, getProperty(mvup, _Y) - "12");
  5. setProperty(mvright, _X, getProperty(mvright, _X) + "16");
  6. move += "1";
  7. if(move == "5")
  8. {
  9.    if(n1loc == "1" and n2loc == "2" and n3loc == "3" and n4loc == "4" and n5loc == "5" and n6loc == "6" and n7loc == "7" and n8loc == "8" and n9loc == "9" and n10loc == "10" and n11loc == "11" and n12loc == "12" and n13loc == "13" and n14loc == "14" and n15loc == "15")
  10.    {
  11.       gotoAndPlay(100);
  12.    }
  13.    else
  14.    {
  15.       gotoAndStop(66);
  16.    }
  17. }
  18.