1 Reply Latest reply on Sep 1, 2006 8:34 PM by peterent

    changing color of the application

    AlexInd
      Hi everybody,

      Is it possible to change the color of the application (backGround) in actionScript 3, as we always see that the default color of the application is light grey? Pliz confirm me. Thanks.

      Regards,
      Alexson
        • 1. Re: changing color of the application
          peterent Level 2
          <mx:Application backgroundColor="red" /> if you like red.

          <mx:Application backgroundGradients="[0xFF0000,0x00FF00]" /> a red to green gradient - this will be placed over top of the backgroundColor; you can also set the background gradient's alpha values to let some of the background color show through.

          These values are changable at runtime via ActionScript.