Fade from one color to another–Animating Color Transitions in Flex


We will need to fade our applications background color from one value to the next like 0xC58D31 to 0×87FEE9. Fading the background color of an element means that you gradually change that element’s background color from one color to another. This effect is useful for many things especially when we update a web page without reloading it because it gives you a way to draw attention to the area of the web page that has been updated so the user doesn’t miss it.It is not difficult for DHTML or JavaScript, but how to do it in Flex? The following shows how to make the background of your pages fade from one color to another in flex.