Moving rectangle help

I have this rectangle which when it reaches its _yscale 100 , it will decrease till it reaches 0 , then move back up to 100 , and so on… but i cant seem to do it.

heres my code so far(im learning flashMX btw)