0 Replies Latest reply on May 17, 2006 2:25 AM by olally

    increase color  brightness for component

    olally
      I have two buttons components on the stage btn,btn1

      I have the following code in the actionscript pannel:

      var REQUIRED_BG_COLOR:Number = 0xFF9999;
      btn.setStyle("color", REQUIRED_BG_COLOR);
      //btn1.setStyle("color", REQUIRED_BG_COLOR-0x000033);

      My aim is to increase the brightness of what ever color is mentioned in the REQUIRED_BG_COLOR variable
      and assign it to the btn1 component

      I should only increase the color brightness

      can any body edit the commeted line so that it takes the brightened color of the REQUIRED_BG_COLOR variable and
      assign it to btn1



      thanks a ton