Circle transition effect?

http://flashden.net/item/xml-circle-transition-by-quickyboy/10398

Does anyone know how to do this in code? Not using XML, just want a simple wipe. Just wondering if its possible to do with code instead of animating it as a mask.