home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Interface / it.dig / scripts / DefineSprite_317 / frame_3 / DoAction.as
Encoding:
Text File  |  2007-07-26  |  2.5 KB  |  92 lines

  1. stop();
  2. executar_btn.setStyle("fontFamily","Verdana");
  3. executar_btn.setStyle("fontWeight","bold");
  4. executar_btn.setStyle("color","#FFFFFF");
  5. executar_btn.enabled = true;
  6. onEnterFrame = function()
  7. {
  8.    var _loc4_ = _root.descri.caminho.text;
  9.    _loc4_ = _loc4_.substring(_loc4_.length - 3,_loc4_.length);
  10.    if(_global.lingua == "pt")
  11.    {
  12.       if(this.comando.text == "shellopen")
  13.       {
  14.          _root.descri.executar_btn.label = "ABRIR";
  15.       }
  16.       else if(this.comando.text == "LINK")
  17.       {
  18.          _root.descri.executar_btn.label = "ABRIR URL";
  19.       }
  20.       else if(this.comando.text == "EXECUTAR")
  21.       {
  22.          _root.descri.executar_btn.label = "EXECUTAR";
  23.       }
  24.       else if(this.comando.text == "INSTALAR")
  25.       {
  26.          _root.descri.executar_btn.label = "INSTALAR";
  27.       }
  28.       else if(this.comando.text == "run.app")
  29.       {
  30.          _root.descri.executar_btn.label = "INSTALAR";
  31.       }
  32.       else if(this.comando.text == "JOGAR")
  33.       {
  34.          _root.descri.executar_btn.label = "JOGAR";
  35.       }
  36.    }
  37.    else if(_global.lingua == "sp")
  38.    {
  39.       if(this.comando.text == "shellopen")
  40.       {
  41.          _root.descri.executar_btn.label = "ABRIR";
  42.       }
  43.       else if(this.comando.text == "LINK")
  44.       {
  45.          _root.descri.executar_btn.label = "ABRIR URL";
  46.       }
  47.       else if(this.comando.text == "EXECUTAR")
  48.       {
  49.          _root.descri.executar_btn.label = "EJECUTAR";
  50.       }
  51.       else if(this.comando.text == "INSTALAR")
  52.       {
  53.          _root.descri.executar_btn.label = "INSTALAR";
  54.       }
  55.       else if(this.comando.text == "run.app")
  56.       {
  57.          _root.descri.executar_btn.label = "INSTALAR";
  58.       }
  59.       else if(this.comando.text == "JOGAR")
  60.       {
  61.          _root.descri.executar_btn.label = "JUGAR";
  62.       }
  63.    }
  64.    else if(_global.lingua == "en")
  65.    {
  66.       if(this.comando.text == "shellopen")
  67.       {
  68.          _root.descri.executar_btn.label = "OPEN";
  69.       }
  70.       else if(this.comando.text == "LINK")
  71.       {
  72.          _root.descri.executar_btn.label = "DOWNLOAD";
  73.       }
  74.       else if(this.comando.text == "EXECUTAR")
  75.       {
  76.          _root.descri.executar_btn.label = "RUN";
  77.       }
  78.       else if(this.comando.text == "INSTALAR")
  79.       {
  80.          _root.descri.executar_btn.label = "INSTALL";
  81.       }
  82.       else if(this.comando.text == "run.app")
  83.       {
  84.          _root.descri.executar_btn.label = "INSTALL";
  85.       }
  86.       else if(this.comando.text == "JOGAR")
  87.       {
  88.          _root.descri.executar_btn.label = "PLAY";
  89.       }
  90.    }
  91. };
  92.