home *** CD-ROM | disk | FTP | other *** search
/ One Click 5 / ONCE005.iso / Interface / it.dig / scripts / DefineSprite_584 / frame_3 / DoAction.as
Encoding:
Text File  |  2006-06-12  |  856 b   |  31 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 _loc3_ = _root.descri.caminho.text;
  9.    _loc3_ = _loc3_.substring(_loc3_.length - 3,_loc3_.length);
  10.    if(this.comando.text == "shellopen")
  11.    {
  12.       _root.descri.executar_btn.label = "ABRIR";
  13.    }
  14.    else if(this.comando.text == "LINK")
  15.    {
  16.       _root.descri.executar_btn.label = "ABRIR URL";
  17.    }
  18.    else if(this.comando.text == "EXECUTAR")
  19.    {
  20.       _root.descri.executar_btn.label = "EXECUTAR";
  21.    }
  22.    else if(this.comando.text == "INSTALAR")
  23.    {
  24.       _root.descri.executar_btn.label = "INSTALAR";
  25.    }
  26.    else if(this.comando.text == "run.app")
  27.    {
  28.       _root.descri.executar_btn.label = "INSTALAR";
  29.    }
  30. };
  31.