Flash masking layer showing on movie
Posted on 2004-10-22
I am quite new to Flash, so I will explain this as best I can. I created a new movie. On this movie I have created 3 layers.
Layer 1 (the bottom most layer) is a colored rectangle that covers the stage area.
Layer 3 (the top most layer) contains a multi line text block that has been converted to a symbol. On frame 1 the text is below the stage, and at frame 50 the text is above the stage (vertical travel only).
Layer 3 then has a motion tween to have the text travel up the stage.
Layer 2 has a rectangle that has a linear gradient where the top 20% is the graident that goes from 100% alpha to 0% alpha. The rest of the rectangle is white.
Next on Layer three I select the "Mask" option for the layer.
Now when I press enter to watch the movie on the stage, no problems. The mask layer acts correctly and the text fades out at the top of the movie as I wish. However when I press Ctrl + Enter to test the movie the masking area (the white rectangle with the gradient at the top) is visible and the text does not show. This behavior also occurs when I export the movie.
What I am doing wrong?