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?


You can accomplish this using masks.

try using shape tweens for this its quite tricky but fun

check out this thread

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:

I was gonna link that, lol


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