Action script and colours

i want to use script to very gradularly adjust the colour / tint value of a graphic or movie clip.
any ideas?
cheers