Building a mask at runtime

Hi all,

Just wondering if anyone knows of a method to build a mask at runtime. The mask may not be entirely dynamic (i.e. there may be an existing movieclip that the new components will be merged with).

Cheers!

F