Actionscript masking - PLEASE HELP

I really need some help with masking the attached document. Does anybody know how to do this.

It’s a little wierd, because it’s almost all actionscript.

Is it even possible???

THANKS!