home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Livebrush / Install-LivebrushLite.air / livebrush.swf / scripts / com / livebrush / ui / SettingsUI.as < prev    next >
Encoding:
Text File  |  2009-10-26  |  5.7 KB  |  204 lines

  1. package com.livebrush.ui
  2. {
  3.    import adobe.utils.*;
  4.    import fl.controls.Button;
  5.    import fl.controls.CheckBox;
  6.    import fl.controls.TextInput;
  7.    import flash.accessibility.*;
  8.    import flash.data.*;
  9.    import flash.desktop.*;
  10.    import flash.display.*;
  11.    import flash.errors.*;
  12.    import flash.events.*;
  13.    import flash.external.*;
  14.    import flash.filesystem.*;
  15.    import flash.filters.*;
  16.    import flash.geom.*;
  17.    import flash.html.*;
  18.    import flash.media.*;
  19.    import flash.net.*;
  20.    import flash.printing.*;
  21.    import flash.profiler.*;
  22.    import flash.sampler.*;
  23.    import flash.security.*;
  24.    import flash.system.*;
  25.    import flash.text.*;
  26.    import flash.ui.*;
  27.    import flash.utils.*;
  28.    import flash.xml.*;
  29.    
  30.    [Embed(source="/_assets/assets.swf", symbol="symbol446")]
  31.    public dynamic class SettingsUI extends Sprite
  32.    {
  33.       public var cacheDelay:TextInput;
  34.       
  35.       public var cacheDecos:CheckBox;
  36.       
  37.       public var message:TextField;
  38.       
  39.       public var checkForUpdates:CheckBox;
  40.       
  41.       public var closeBtn:Button;
  42.       
  43.       public var showBusyWarnings:CheckBox;
  44.       
  45.       public var cacheVectors:CheckBox;
  46.       
  47.       public var presetsBtn:Button;
  48.       
  49.       public function SettingsUI()
  50.       {
  51.          super();
  52.          this.__setProp_cacheDecos_SettingsUI_Layer1_0();
  53.          this.__setProp_cacheVectors_SettingsUI_Layer1_0();
  54.          this.__setProp_closeBtn_SettingsUI_Layer1_0();
  55.          this.__setProp_checkForUpdates_SettingsUI_Layer1_0();
  56.          this.__setProp_showBusyWarnings_SettingsUI_Layer1_0();
  57.          this.__setProp_presetsBtn_SettingsUI_Layer1_0();
  58.       }
  59.       
  60.       internal function __setProp_presetsBtn_SettingsUI_Layer1_0() : *
  61.       {
  62.          try
  63.          {
  64.             this.presetsBtn["componentInspectorSetting"] = true;
  65.          }
  66.          catch(e:Error)
  67.          {
  68.          }
  69.          this.presetsBtn.emphasized = false;
  70.          this.presetsBtn.enabled = true;
  71.          this.presetsBtn.label = "UPDATE PRESETS";
  72.          this.presetsBtn.labelPlacement = "right";
  73.          this.presetsBtn.selected = false;
  74.          this.presetsBtn.toggle = false;
  75.          this.presetsBtn.visible = true;
  76.          try
  77.          {
  78.             this.presetsBtn["componentInspectorSetting"] = false;
  79.          }
  80.          catch(e:Error)
  81.          {
  82.          }
  83.       }
  84.       
  85.       internal function __setProp_cacheVectors_SettingsUI_Layer1_0() : *
  86.       {
  87.          try
  88.          {
  89.             this.cacheVectors["componentInspectorSetting"] = true;
  90.          }
  91.          catch(e:Error)
  92.          {
  93.          }
  94.          this.cacheVectors.enabled = true;
  95.          this.cacheVectors.label = "Realtime Caching";
  96.          this.cacheVectors.labelPlacement = "right";
  97.          this.cacheVectors.selected = false;
  98.          this.cacheVectors.visible = true;
  99.          try
  100.          {
  101.             this.cacheVectors["componentInspectorSetting"] = false;
  102.          }
  103.          catch(e:Error)
  104.          {
  105.          }
  106.       }
  107.       
  108.       internal function __setProp_checkForUpdates_SettingsUI_Layer1_0() : *
  109.       {
  110.          try
  111.          {
  112.             this.checkForUpdates["componentInspectorSetting"] = true;
  113.          }
  114.          catch(e:Error)
  115.          {
  116.          }
  117.          this.checkForUpdates.enabled = true;
  118.          this.checkForUpdates.label = "Automatically Check For Updates";
  119.          this.checkForUpdates.labelPlacement = "right";
  120.          this.checkForUpdates.selected = false;
  121.          this.checkForUpdates.visible = true;
  122.          try
  123.          {
  124.             this.checkForUpdates["componentInspectorSetting"] = false;
  125.          }
  126.          catch(e:Error)
  127.          {
  128.          }
  129.       }
  130.       
  131.       internal function __setProp_cacheDecos_SettingsUI_Layer1_0() : *
  132.       {
  133.          try
  134.          {
  135.             this.cacheDecos["componentInspectorSetting"] = true;
  136.          }
  137.          catch(e:Error)
  138.          {
  139.          }
  140.          this.cacheDecos.enabled = true;
  141.          this.cacheDecos.label = "Cache Decorations";
  142.          this.cacheDecos.labelPlacement = "right";
  143.          this.cacheDecos.selected = false;
  144.          this.cacheDecos.visible = true;
  145.          try
  146.          {
  147.             this.cacheDecos["componentInspectorSetting"] = false;
  148.          }
  149.          catch(e:Error)
  150.          {
  151.          }
  152.       }
  153.       
  154.       internal function __setProp_showBusyWarnings_SettingsUI_Layer1_0() : *
  155.       {
  156.          try
  157.          {
  158.             this.showBusyWarnings["componentInspectorSetting"] = true;
  159.          }
  160.          catch(e:Error)
  161.          {
  162.          }
  163.          this.showBusyWarnings.enabled = true;
  164.          this.showBusyWarnings.label = "Show Busy Warnings";
  165.          this.showBusyWarnings.labelPlacement = "right";
  166.          this.showBusyWarnings.selected = false;
  167.          this.showBusyWarnings.visible = true;
  168.          try
  169.          {
  170.             this.showBusyWarnings["componentInspectorSetting"] = false;
  171.          }
  172.          catch(e:Error)
  173.          {
  174.          }
  175.       }
  176.       
  177.       internal function __setProp_closeBtn_SettingsUI_Layer1_0() : *
  178.       {
  179.          try
  180.          {
  181.             this.closeBtn["componentInspectorSetting"] = true;
  182.          }
  183.          catch(e:Error)
  184.          {
  185.          }
  186.          this.closeBtn.emphasized = false;
  187.          this.closeBtn.enabled = true;
  188.          this.closeBtn.label = "CLOSE";
  189.          this.closeBtn.labelPlacement = "right";
  190.          this.closeBtn.selected = false;
  191.          this.closeBtn.toggle = false;
  192.          this.closeBtn.visible = true;
  193.          try
  194.          {
  195.             this.closeBtn["componentInspectorSetting"] = false;
  196.          }
  197.          catch(e:Error)
  198.          {
  199.          }
  200.       }
  201.    }
  202. }
  203.  
  204.