1 Reply Latest reply on Aug 6, 2007 2:08 PM by T Rollins

    Background Color fade in and out

    jgsstrappy
      I have a datagrid that contains information that when clicked on, displays more details in a custom component to the left of the grid. One the click of the grid, I have changed the background color of the custom piece to change to blue via the following

      click="changeBlue"

      public function changeBlue():void{
      eventDetails.setStyle( "backgroundColor", "#a5d2f8");
      }

      Very simple. What I would like is to have the color of the custom component to cycle to white and then back to that blue each time the changeBlue is called. Is there a quick and simple AS that would cycle the background from white to blue without running a transition and changing states? I am new to all of this so any help would be appreciated!

      Thanks,
      Jon