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

  1. if(eval("/:location") - int(eval("/:location") / "10") * "10" < "3")
  2. {
  3.    set("/:location",eval("/:location") + "1");
  4.    setProperty("/Square", _Y, getProperty("/Square", _Y) + "60");
  5. }
  6. else
  7. {
  8.    set("/:location",eval("/:location") - "2");
  9.    setProperty("/Square", _Y, getProperty("/Square", _Y) - "120");
  10. }
  11. gotoAndStop(2);
  12.