0 Replies Latest reply on Feb 4, 2008 10:38 AM by relief8

    change color of movieclip to match another movicelip using actionscript

    relief8 Level 1
      I have buttons that use setRGB to change the color of movieclip "A". I want movieclip "B" to match the color of moviclip "A" but I don't want to have to go in and add that code to every button (There are a lot of them). I there a way to tell movieclip "B" to match the color of movieclip "A"? I was thinking about creating movieclip "C" and having loop. Then in frame 1 of the actionscript layer of moviclip "C" I would add code that checks the rgb of movieclip "A" and sets moviclip "B" to be the same. I'm just not sure how to write the code.