home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / dexter.swf / scripts / DefineSprite_318 / frame_1 / DoAction.as
Encoding:
Text File  |  2003-10-24  |  584 b   |  24 lines

  1. menutext = eval("/:have" add _name.substr("2","3"));
  2. if(eval("/:have" add _name.substr("2","3")) != "0")
  3. {
  4.    if(eval("/:have" add _name.substr("2","3")) == eval("/:mode"))
  5.    {
  6.       gotoAndStop(3);
  7.    }
  8.    else if(eval("/:have" add _name.substr("2","3")) == "5")
  9.    {
  10.       setProperty("../o" add _name.substr("2","3"), _visible, "0");
  11.       gotoAndStop(12);
  12.    }
  13.    else
  14.    {
  15.       setProperty("../o" add _name.substr("2","3"), _visible, "0");
  16.       gotoAndStop(2);
  17.    }
  18. }
  19. else
  20. {
  21.    setProperty("../o" add _name.substr("2","3"), _visible, "0");
  22.    stop();
  23. }
  24.