闪光倒置面罩
我一直在寻找一种简单的方法来反转闪光灯中的蒙版。令人惊讶的是它没有这个功能。
我真的只需要绘制形状,下面的任何内容(分层)都不会显示出来。
有什么建议吗?
I've been looking for a simple way to invert a mask in flash. Its just amazing how it doesn't have this feature.
I just really need to paint shape and whatever is below (in layers) wont show up.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
要在代码中创建反转蒙版,请执行以下操作
在 Flash Professional IDE 中创建反转蒙版
选择要屏蔽的图像的属性面板,选择“显示”-> “混合”-> “层”
然后选择您的蒙版,然后选择“显示”->“混合”->“擦除”
你会看到这样的东西:
To create an inverted mask in code do the following
To create an inverted mask in the Flash Professional IDE
Choose the properties panel of the image you want masked, select "Display" -> "Blending" -> "Layer"
Then select your mask, and choose "Display -> "Blending" -> "Erase"
You'll see something like this:
注意:请记住,此操作要在影片剪辑内工作(即您创建了一个反转的动画蒙版影片剪辑,它将自行擦除等);嵌入它的影片剪辑必须设置为 BLENDMODE: LAYER ALSO,否则整体效果将被忽略 - 希望这会有所帮助!
NOTE: Remember for this to work inside a movie clip (i.e. you have created an inverted animated mask movie clip that will erase itself etc); the movie clip in which it is embedded MUST BE SET TO BLENDMODE: LAYER ALSO otherwise the overall effect will be ignored - hope this helps!