home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / killerpigs.swf / scripts / frame_3 / DoAction.as
Encoding:
Text File  |  2007-03-13  |  753 b   |  25 lines

  1. set("/:FlashVersion",eval("/:$Version"));
  2. if("4" < eval("/:FlashVersion").substr(5,1))
  3. {
  4.    if(eval("/:FlashVersion").substr(1,3) eq "WIN")
  5.    {
  6.       set("/:Platform","You are working on a Windows Machine");
  7.    }
  8.    else if(eval("/:FlashVersion").substr(1,3) eq "MAC")
  9.    {
  10.       set("/:Platform","You are working on a Macintosh");
  11.    }
  12.    else
  13.    {
  14.       set("/:Platform","We were unable to determine your operating system.");
  15.    }
  16.    set("/:PluginMessage","You have the Flash 5 Plugin required for this game.");
  17.    gotoAndPlay(5);
  18. }
  19. else
  20. {
  21.    set("/:PluginMessage","You do not have the Flash Plugin required for this game.");
  22.    set("/:PluginMessage2","Please download one for free from http://www.macromedia.com");
  23. }
  24. stop();
  25.