andr3w
10-30-2009, 07:40 AM
Hi,
I've no idea what I'm doing. I couldn't find a "newbie forum" so I'm posting here.
I have an event listener for mouse over to change a movie clip tint color:
function changeColor(object:MovieClip, color:Number){
import fl.motion.Color
var myColor:Color =new Color();
myColor.setTint(0x0000CD, .25);
hello1.transform.colorTransform = myColor;}
Thing is I have 10 movie clips and I'd like the effect on all of them. Is there a way to capture which movie clip is being mouse overed and pass that to the function? I'd like to use the same function for all the movie clips.
hello1 is the instance name of one movie clip.
Does that make sense?
Like I said I have no idea what I'm doing.
It is fun though.
Thanks guys and gals.
I've no idea what I'm doing. I couldn't find a "newbie forum" so I'm posting here.
I have an event listener for mouse over to change a movie clip tint color:
function changeColor(object:MovieClip, color:Number){
import fl.motion.Color
var myColor:Color =new Color();
myColor.setTint(0x0000CD, .25);
hello1.transform.colorTransform = myColor;}
Thing is I have 10 movie clips and I'd like the effect on all of them. Is there a way to capture which movie clip is being mouse overed and pass that to the function? I'd like to use the same function for all the movie clips.
hello1 is the instance name of one movie clip.
Does that make sense?
Like I said I have no idea what I'm doing.
It is fun though.
Thanks guys and gals.