Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建一个具有特定宽度和高度的 MovieClip 符号,但其内容延伸到其边界之外,并且可以选择将外部内容剪裁/隐藏或可见。
在 Flex 中,解决方案是使用 .clipAndEnableScrolling = true 创建一个组。
有没有办法在 Flash CS5 中做到这一点,或者符号总是会解析为其内容的大小?
答案是使用遮罩层来定义符号边界矩形。此技术将剪辑越界内容。看这个精彩的视频:
从 lynda.com 创建蒙版和蒙版内容
该符号将始终解析为其内容的大小。
如果您希望使特定尺寸可见,请在剪辑内: