用两个对象为 Flash 符号着色
大家好,我是 Illustrator 和 Flash 的新手。这里我有两个对象;背景和突出显示。高光有一定的不透明度,设置为 45%,因此它看起来比背景更亮。我想在 as3/flash builder 4 中仅对背景进行着色,但是当我对 flash 符号进行着色时,突出显示区域也会着色,而我不想这样做。我也不想有两个单独的符号,因为那样我就必须添加更多代码和变量。
有没有办法只给背景着色并让突出显示的对象保持原样?
我希望我已经很好地表达了自己。
Hey Folks, I am a newbie to Illustrator and flash. Here I have two objects; background and highlight. Highlight has a certain amount a opacity set to it 45%, so it appears lighter then the background. I want to color just the background in as3/flash builder 4, but when I color the flash symbol, the highlight region also gets colored and I don't want to do that. I also don't want to have two separate symbols, because then I'll have to add more code and variables.
Is there any way to color just the background and let the highlight object just be?
I hope I've conveyed myself well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须将对象分成两部分 - 最有可能的是较低层上的背景和较高层上的高光。然后为您的背景指定一个实例名称并仅更改该实例的颜色。
我不明白为什么你需要更多的代码,你的对象仍然是一个,只是由两个子对象组成(即你的箭头或任何东西仍然是一个箭头,背景作为其中之一)您可以访问和修改的子项)。
例如:
You'll have to segment your object into two parts - most likely the background on a lower layer and the highlight on the higher. Then give your background an instance name and change the colour of only that.
I don't see why you would need more code for this, your object will still be one, just made up of two children (ie your arrow or whatever that is will still be a single arrow, with a the background as one of the children that you can access and modify).
EG: