ive been trying to get this idea working and so far have made a bit of headway. but im running into some problems.
my code for the color swatch is this;
on (release) {
var colorful = new Color("_root.trim");
colorful.setRGB(0x789EF5);
with (_root.trim) {
_alpha = 50;
}
var colorful = new Color("_root.leftwall");
colorful.setRGB(0x1F327A);
with (_root.leftwall) {
_alpha = 50;
}
var colorful = new Color("_root.rightwall");
colorful.setRGB(0x9228AC);
with (_root.rightwall) {
_alpha = 50;
}
}
I’d imagine this is pretty sloppy, but im pretty new at this. what im trying to do is have several pallets, with different color variations, apply those colours to a mask i have over this image. I did try to have this image and mask in its own movie clip, but then the colours stop loading if i do that.
Is there a simpler, or better way of accomplishing this? I thought about arrays, but I’m not sure.
Cheers