Genie-effect!

Is there a way to create a Genie-like-effect as there is in Mac OS X when you minimize windows?

I’ve seen an example at: http://board.flashkit.com/board/showthread.php?t=691906

but I tried to do it myself, but without any luck, see:
http://www.myupload.dk/showfile/427068e98c.fla