set top boundary for scrollView

hello everyone how do you set a boundary in a scrollView when the text for example reach the specified top boundary it should fade? i tried using a mask but it only fades the buttom and not the top.

here’s my sample code:

[code]local scrollView = widget.newScrollView
{
hideScrollBar = true,
hideBackground = true,
width = 300,
height = 360,
maskFile = “mymask.png”
}

local movetipscontent = display.newText ( “This text should be wrapped according to the specified width.”, 30, 250, 280, 400, native.systemFont, 13 )
movetipscontent:setTextColor ( 0, 0, 0 )
scrollView:insert ( movetipscontent )[/code] [import]uid: 189861 topic_id: 33163 reply_id: 333163[/import]