like this...
See attached show folder and screen-shot.
Am using some generic content in folder 2 as the sources and your masks are in folder 3
Layer 1-2 are content layers for the portal
Layer 3 is the Mask - using color FX 32 Inv mask 2
all routed to mix 1
Layer 5& 6 are routed to mix 2 and do the same for the 'dots'
Layer 4 uses the 'Use Layer/Mix' function and uses Mix 2 as its source.
Note that Mix 2 has to be either 'Flat locked to corners' or 'Keystone' for this to work.
Then apply a color FX 3 - transparent Black and the contents of mix 2 can be overlaid.
Am using m364 and there seems to be a weird X-mirror issue, so have used a 180deg rotate in the X axis to correct for this on layer 5&6
Also need to adjust scale either in the layers or mix2.
Note that i have also used Visual Fx1 - infinite plane, to create a black border around the mask so that either the mask or content can be scaled without seeing the layers underneath.
Obviously you may need to re-assign layers to suit your show, but this shows the method.
S