= e.target.contentHeight - e.target.height - gradientHeight){ shadowRectBottom.height = ((e.target.contentHeight as Number) - (e.target.height as Number)) - (e.newValue as Number); } else { shadowRectBottom.height = gradientHeight; } } } ]]>