Mask Multiple Objects with AS3

Hi All,

I am currently creating a website that contains a mask that covers many items (created in flash environment).

At one point, using AS3 I remove the mask with the following code:

mainStage.masker.mask = null;

I then need to reinstate the mask to all the objects and have tried everything I can think of, i.e. all combinations of:

mainStage.aboutText.mask = mainStage.masker;
mainStage.projects.mask = mainStage.masker; mainStage.commercialScrollMenu.mask = mainStage.masker;

etc etc.

No matter how i organize this code i can’t get multiple objects masked by the same movieclip using as3.

If anyone has any suggestions I would greatly appreciate it!!

All the best,

James.