How to draw animated borders?

I want to draw an animated border, another words when the site starts I want see a border being drawn?

Thanks.

You can accomplish this using masks.

try using shape tweens for this its quite tricky but fun

check out this thread

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=28369&highlight=animating+lines

i made a simple fla that shows you how to achieve it if you need more help post away :beam:

If you know how to draw the border with actionsript, heres an actionscript way of doing it:
http://proto.layer51.com/d.aspx?f=952

I was gonna link that, lol

:wink:

I have a site that draws boxes with shape tweens, but someone said actionscript would be smoother. Any comments?