Growing tree branch effect > how to

Just take a look into www.sagatiba.com.br flash movie ;
(*I´ve seen effect likewise @ other site but cannot find the bookmark right now);
the growing tree branch effect uses a mask however I could not duplicate it ;
any ideas ?
\cheers