PDA

View Full Version : random color tutorial



lostandfund
September 11th, 2002, 09:30 PM
QUESTION:

how do i go about having the color of one movie clip follow the same color of the random colored movie clip?


thanks to Mr.Ilyas's nice and short tutorial, i did my FIRST actionscript, Random Colors. yeay!

i can't seem to find the tutorial, but the coding went like this:

myColor = Math.round (Math.random()*0xFFFFFF);
myColoredObject = new Color (this);
myColoredObject.setRGB(myColor);

i added this action to one movie clip. now, can i "synchoronize" the color of another movie clip to this one?
Can anyone help me? heh heh :P

lostandfund
September 11th, 2002, 09:54 PM
i just realized. i should have posted in actionscript help. sorry. let me go ahead and do that. sorry.