Drawing a line via AS?

I want to make a new transition for my site…I want draw the out line of the box before it is displayed…how could this be done via AS?