Background color that transitions into another color using actionscript

I would like to create a background for my movie that would transition from color to color using action script. What I would like to have happen is the color starts out a blue for example, and over a period of 1 minute, it slowly fades to green. If this is not doable, I would settle for the brightness of a color to slowly transition from 100% - 0% over the course of 1 min. My thought is that I could do this on the timeline, but I would really like to keep my movie clean, and thought that there must be a way to do it with action!