We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
I am trying to create an animation where a blue solid is animated from the horizonal center and expands to fill the entire screen. Then a mask would use that same animation to then hide the blue to reveal another layer and text underneath of it. In short, the color would be filling the entire screen at the horizonal center, and then the solid would split at the horizonal center and the two halves would shrink near the top and bottom edges of the stage.
I can't seem to find this information anywhere, as everything I've found deals with revealing things by moving the position of the mask and not by animating what the size the mask is. Not sure if this is even possible. If there is a way (assuming I explained well enough the effect I'm going for). I could do it simple if it wasn't for me wanting to reveal two layers at the same time when the solid "splits" into two. If there's a better way to do this effect, that would be cool, as well.
You can use the alpha (transparency) of one layer as a source for transparency by setting up a track matte. If you want one layer's scale property to control another layer you can use parenting or tie the scale properties together. You could also apply the Transform effect to the blue solid and scale it vertically, then use Set Matte on the Text layer to look at the alpha channel of the animated blue solid. You would need to turn on Effects and Masks for the source layer in Set matte and you can't use Scale from the transform property directly because of the rendering order. From what I get from your description the comp would look something like this:
A screenshot embedded showing where you are so far with your comp would help. The screenshot I embedded shows you everything I did. The Effect/Transform/Scale Height keyframe values are 0, 50, 50, and 0.
* The "Drag & Drop here..." area is buggy and should not be used to share images. Please use the toolbar or just drag your images to the reply field.
To get the blue layer to split in the middle and expand out, I think you can probably get away with using CC Light Wipe with the intensity set to 0:
As I read your explanation again I see other options. By far the simplest solution is to use more than one blue layer.
Layer 1 (Blue layer)
Layer 2 (Blue layer copy)
Layer 3 (Blue Layer Copy without any animation or keyframes)
Layer 4 (Text layer)
Layer 5 (Other stuff)
Layer 6 (Main Comp Background)
It looks like this:
There are about 3 other simple ways to do the same thing. Some don't require as many layers. One uses an animated mask, but I think this approach is one of the easiest.
I'm trying this method, and I'm running into some roadblocks.
I am showing you everything that was done to the layers.
Layer 1 only has the scale modified so that it expands horizontally.
Layer 2 is a copy of layer 1 that has been moved down the timeline. No keyframes have been changed, the timing is just different
Layer 3 is another copy of layer 1 but there is no animation and the scale is set to 100, 100 so it fills the frame. Layer 2 is used as a track matte for this Layer 3 set to inverted alpha so that the transparent area of the track matte makes Layer 3 visible. This makes layer 3 appear to split in the middle and open up. This makes a hole that reveals Layer 4, the text layer, and Layer 5, and Layer 6. You can't see layer 6 because it is below layer 5.
There is no parenting. All I have done is hidden everything below Layer 1 by animating the scale, then used a track matte to reveal everything below layer 3 by using a track matte after layer 1 ended. Layer 1 and 3 are identical so that when the cut is made between Layer 1 and Layer 3, you do not see the change.
The master background is a green gradient shape layer with no animation. The Other Background (Layer 5) is just the Yellow Text Bubble to show you that when the hole is made in Layer 3, the blue solid layer, you can see everything below layer 3.
If you only have one layer below your text layer then it should work. If all you have is the first 3 layers, then the text will be revealed.
If the second layer is still showing then you have either turned the visibility of Layer 2 back on or you have not set it as an alpha inverted track matte for Layer 3.
It would really help me help you if you just took a minute to select all your layers, press the 'u' key twice to show all modified properties, then took a screenshot of the entire UI and embedded it in your reply using the toolbar's Insert Photos tool.