home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / OrganismMicroscope.swf / scripts / DefineSprite_72 / frame_6 / DoAction.as
Encoding:
Text File  |  2005-08-05  |  519 b   |  35 lines

  1. Secz = Kekka;
  2. if(length(Secz) == "1")
  3. {
  4.    Secz = "0" add Secz;
  5. }
  6. if(Secz == "10")
  7. {
  8.    if(sec10 == "0")
  9.    {
  10.       sec10 = "1";
  11.       tellTarget("../secTEN")
  12.       {
  13.          gotoAndPlay(2);
  14.       }
  15.    }
  16. }
  17. AA = secz.substr("1","1") + "1";
  18. BB = secz.substr("2","1") + "1";
  19. tellTarget("Z1")
  20. {
  21.    gotoAndStop(eval("../:AA"));
  22. }
  23. tellTarget("Z2")
  24. {
  25.    gotoAndStop(eval("../:AA"));
  26. }
  27. tellTarget("Z3")
  28. {
  29.    gotoAndStop(eval("../:BB"));
  30. }
  31. tellTarget("Z4")
  32. {
  33.    gotoAndStop(eval("../:BB"));
  34. }
  35.