Changing the value of a gradient fill

Guys,

I’m trying to programmatically change the value of one of the colours in a gradient fill of a symbol with Actionscript.

I’ve used setColor for the main part of the symbol now all i need is to change the gradient fill to match it.

Any ideas anyone?
Hope I’ve made this clear enough.

If not then try here for an example.

Thanks in advance

–Neil