Gradient mask problem?

i have dynamically loaded text (font embedded, from a text file) under a white to clear gradient. everything is on a black background so the text should appear white and fade out at the top. the text does appear white, this is good but instead of fading out it does not feather with the gradient it immediatly goes from white to black. what is wrong?