Dynamic Line movement

I have a horizontal line that is drawn dynamically
is there a way i can make it shorter or longer with easing only in actionscript

:puzzled: